Package org.xembly
Interface Directive
-
public interface Directive
Directive.Use
Directives
to create a collection of them. You don't need to use this interface directly and make instances of it. Everything is done throughDirectives
andXembler
.- Since:
- 0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Directive.Cursor
Cursor.static interface
Directive.Stack
Stack.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Directive.Cursor
exec(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
-
-