Package com.aspectran.core.util.nodelet
Interface Nodelet
-
public interface Nodelet
A nodelet is a sort of callback or event handler that can be registered to handle an XPath event registered with the NodeParser.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
process(java.util.Map<java.lang.String,java.lang.String> attrs)
For a registered XPath, the NodeletParser will call the Nodelet's process method for processing.
-
-
-
Method Detail
-
process
void process(java.util.Map<java.lang.String,java.lang.String> attrs) throws java.lang.Exception
For a registered XPath, the NodeletParser will call the Nodelet's process method for processing.- Parameters:
attrs
- the attributes of the start element- Throws:
java.lang.Exception
- if an error occurs while processing the nodelet
-
-