org.wicketstuff.context
Class TraversalStrategy.TraversalResultImpl

java.lang.Object
  extended by org.wicketstuff.context.TraversalStrategy.TraversalResultImpl
All Implemented Interfaces:
TraversalStrategy.TraversalResult
Enclosing class:
TraversalStrategy

public static class TraversalStrategy.TraversalResultImpl
extends Object
implements TraversalStrategy.TraversalResult


Constructor Summary
TraversalStrategy.TraversalResultImpl(org.apache.wicket.Component pComponent, List<org.wicketstuff.context.FieldValue> pFieldValues)
           
 
Method Summary
 Object getValue(Field pField)
          Get the resolved context for the given field.
 void inject()
          Inject the resolved context into fields.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraversalStrategy.TraversalResultImpl

public TraversalStrategy.TraversalResultImpl(org.apache.wicket.Component pComponent,
                                             List<org.wicketstuff.context.FieldValue> pFieldValues)
Method Detail

inject

public void inject()
Description copied from interface: TraversalStrategy.TraversalResult
Inject the resolved context into fields.

Specified by:
inject in interface TraversalStrategy.TraversalResult

getValue

public Object getValue(Field pField)
Description copied from interface: TraversalStrategy.TraversalResult
Get the resolved context for the given field.

Specified by:
getValue in interface TraversalStrategy.TraversalResult
Parameters:
pField - the field to check.
Returns:
the resolved object or null if none.


Copyright © 2014–2018. All rights reserved.