Class NodeFragment
- java.lang.Object
- 
- org.smooks.engine.delivery.fragment.NodeFragment
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected static classNodeFragment.Reservation
 - 
Field SummaryFields Modifier and Type Field Description protected static UserDataHandlerCOPY_USER_DATA_HANDLERstatic StringID_USER_DATA_KEYstatic StringRESERVATIONS_USER_DATA_KEY
 - 
Constructor SummaryConstructors Constructor Description NodeFragment(Node node)NodeFragment(Node node, boolean isReservationInheritable)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanassertConditionTrue(ExecutionContext executionContext, SelectorPath selectorPath)booleanequals(Object o)protected booleanevaluate(Node node, SelectorPath selectorPath, ExecutionContext executionContext)StringgetId()inthashCode()booleanisMatch(SelectorPath selectorPath, ExecutionContext executionContext)Is the suppliedSelectorPathtargeting thisFragment.protected booleanisPatternMatch(Node node, SelectorPath selectorPath)booleanrelease(long id, Object token)booleanreserve(long id, Object token)StringtoString()Nodeunwrap()
 
- 
- 
- 
Field Detail- 
COPY_USER_DATA_HANDLERprotected static final UserDataHandler COPY_USER_DATA_HANDLER 
 - 
RESERVATIONS_USER_DATA_KEYpublic static final String RESERVATIONS_USER_DATA_KEY - See Also:
- Constant Field Values
 
 - 
ID_USER_DATA_KEYpublic static final String ID_USER_DATA_KEY - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getIdpublic String getId() 
 - 
unwrappublic Node unwrap() 
 - 
reservepublic boolean reserve(long id, Object token)
 - 
releasepublic boolean release(long id, Object token)
 - 
isMatchpublic boolean isMatch(SelectorPath selectorPath, ExecutionContext executionContext) Description copied from interface:FragmentIs the suppliedSelectorPathtargeting thisFragment. Checks that this fragment is in the correct namespace and is a contextual match for the configuration.
 - 
evaluateprotected boolean evaluate(Node node, SelectorPath selectorPath, ExecutionContext executionContext) throws org.jaxen.JaxenException - Throws:
- org.jaxen.JaxenException
 
 - 
isPatternMatchprotected boolean isPatternMatch(Node node, SelectorPath selectorPath) throws org.jaxen.JaxenException - Throws:
- org.jaxen.JaxenException
 
 - 
assertConditionTrueprotected boolean assertConditionTrue(ExecutionContext executionContext, SelectorPath selectorPath) 
 
- 
 
-