jInfer

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.


Method Summary
 StructuralNodeType getType()
           
 boolean isElement()
           
 boolean isSimpleData()
           
 
Methods inherited from interface cz.cuni.mff.ksi.jinfer.base.interfaces.nodes.NamedNode
getContext, getMetadata, getName
 

Method Detail

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.

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011