public class FilterNodeHandler extends NodeHandler
VCSTATE_ATTR| Constructor and Description |
|---|
FilterNodeHandler() |
| Modifier and Type | Method and Description |
|---|---|
VPTNode |
createNode(org.xml.sax.Attributes attrs,
VPTProject project)
Instantiates a filter based on the given attributes.
|
java.lang.Class |
getNodeClass()
Filter nodes are handled differently; returns null.
|
java.lang.String |
getNodeName()
Returns the name of the filter node in the config file.
|
boolean |
hasChildren()
Filters don't have children.
|
boolean |
isChild()
Filters are not children of any node.
|
void |
saveNode(VPTFilterData filter,
java.io.Writer out)
Saves the filter to the output.
|
void |
saveNode(VPTNode node,
java.io.Writer out)
Saving filters is handled differently.
|
fixPath, startElement, startElement, writeAttrpublic java.lang.String getNodeName()
getNodeName in class NodeHandlerpublic java.lang.Class getNodeClass()
getNodeClass in class NodeHandlerpublic boolean isChild()
isChild in class NodeHandlerpublic boolean hasChildren()
hasChildren in class NodeHandlerpublic VPTNode createNode(org.xml.sax.Attributes attrs, VPTProject project)
createNode in class NodeHandlerattrs - The attributes read from the config file.project - The project that holds this node.public void saveNode(VPTNode node, java.io.Writer out) throws java.io.IOException
saveNode in class NodeHandlerjava.io.IOExceptionpublic void saveNode(VPTFilterData filter, java.io.Writer out) throws java.io.IOException
java.io.IOException