public abstract class TraversalStrategy extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
TraversalStrategy.TraversalResult
The traversal result and operation allowed to perform on it.
|
static class |
TraversalStrategy.TraversalResultImpl |
Constructor and Description |
---|
TraversalStrategy() |
Modifier and Type | Method and Description |
---|---|
protected List<org.wicketstuff.context.FieldValue> |
getSupportedFields(List<Field> pFields) |
protected Set<org.wicketstuff.context.FieldValue> |
match(org.apache.wicket.Component pComponent,
Set<org.wicketstuff.context.FieldValue> pFieldValues)
Match the component to the set of unresolved fields.
|
abstract boolean |
supports(Field pField) |
abstract TraversalStrategy.TraversalResult |
traverse(org.apache.wicket.Component pComponent,
List<Field> pFields)
The traverse procedure.
|
public abstract TraversalStrategy.TraversalResult traverse(org.apache.wicket.Component pComponent, List<Field> pFields)
pComponent
- the component for which the traversal is performed.pFields
- the set of context fieldspublic abstract boolean supports(Field pField)
protected List<org.wicketstuff.context.FieldValue> getSupportedFields(List<Field> pFields)
protected Set<org.wicketstuff.context.FieldValue> match(org.apache.wicket.Component pComponent, Set<org.wicketstuff.context.FieldValue> pFieldValues)
pComponent
- the component that is being matched.pFieldValues
- the unresolved fields.Copyright © 2015. All rights reserved.