public interface IInputHandler
Modifier and Type | Method and Description |
---|---|
void |
applyDefault(IParseContext context)
This method is invoked when no data tag is defined, and the default value should be applied.
|
ParsePrecedence |
getPrecedence()
Gets the parse precedence that is associated with this instance.
|
void |
parseData(IParseContext context,
Node node)
This method is invoked each time a data element with matching key is processed.
|
void applyDefault(IParseContext context)
context
- the current parse context.ParsePrecedence getPrecedence()
void parseData(IParseContext context, Node node) throws IOException
IOException
- If the data cannot be writtencontext
- the current parse context.node
- the DOM node representing the data element.