Interface WeaveAnchorQuery
- 
- All Superinterfaces:
 Query
- All Known Implementing Classes:
 QueryProviderBase.Defaults
public interface WeaveAnchorQuery extends Query
Weaved nodes are generally simply appended to the list of parent's children. This query gives greater control over insertion point. No assumption shall be made on whether output model is complete or not, i.e. output parent node (aka context node) might not be attached to model yet.- Since:
 - 3.3
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SNodeanchorNode(WeavingAnchorContext ctx)Optional query to get anchor node for a node being weaved. 
 - 
 
- 
- 
Method Detail
- 
anchorNode
@Nullable SNode anchorNode(WeavingAnchorContext ctx) throws GenerationFailureException
Optional query to get anchor node for a node being weaved.- Parameters:
 ctx- environment for the query, nevernull- Returns:
 - node to appear next to the weaved one, or 
nullto append weaved node to the end of children node list - Throws:
 GenerationFailureException
 
 - 
 
 -