cz.cuni.mff.ksi.jinfer.base.interfaces.nodes
Interface StructuralNode
- All Superinterfaces:
- NamedNode
- All Known Implementing Classes:
- AbstractStructuralNode, Element, SimpleData
public interface StructuralNode
- extends NamedNode
Interface for nodes that form structure of document tree.
That are elements and text nodes (classes Element and SimpleData).
Contains isElement() and isSimpleData() functions to recognize actual instance.
getType
StructuralNodeType getType()
- Returns:
- enum value of type of actual instance.
isElement
boolean isElement()
- Returns:
- true if node type is element.
isSimpleData
boolean isSimpleData()
- Returns:
- true if node type is simple data.
Generated on Fri Dec 9 00:01:25 CET 2011