Package org.xembly
Interface Directive
-
public interface DirectiveDirective.Use
Directivesto create a collection of them. You don't need to use this interface directly and make instances of it. Everything is done throughDirectivesandXembler.- Since:
- 0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceDirective.CursorCursor.static interfaceDirective.StackStack.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Directive.Cursorexec(Node dom, Directive.Cursor cursor, Directive.Stack stack)Execute it in the given document with current position at the given node.
-
-
-
Method Detail
-
exec
Directive.Cursor exec(Node dom, Directive.Cursor cursor, Directive.Stack stack) throws ImpossibleModificationException
Execute it in the given document with current position at the given node.- Parameters:
dom- Documentcursor- Nodes we're currently atstack- Execution stack- Returns:
- New current nodes
- Throws:
ImpossibleModificationException- If can't do it
-
-