com.japisoft.fastparser.node
Interface ViewableNode

All Known Implementing Classes:
SimpleNode

public interface ViewableNode

View the content of the node

Author:
(c) 2002-2003 JAPISOFT

Method Summary
 java.lang.String getViewAttribute(java.lang.String name)
           
 java.util.Enumeration getViewAttributes()
           
 ViewableNode getViewChildAt(int i)
           
 int getViewChildCount()
           
 java.lang.String getViewContent()
           
 boolean isViewComment()
           
 boolean isViewLeaf()
           
 boolean isViewText()
           
 

Method Detail

getViewAttributes

public java.util.Enumeration getViewAttributes()
Returns:
the list of attributs or null

getViewAttribute

public java.lang.String getViewAttribute(java.lang.String name)
Returns:
the attribute value for the name or null

getViewContent

public java.lang.String getViewContent()
Returns:
the content of the node

isViewLeaf

public boolean isViewLeaf()
Returns:
true is the node is a leaf

getViewChildCount

public int getViewChildCount()
Returns:
the child count

getViewChildAt

public ViewableNode getViewChildAt(int i)
Returns:
a child starting from 0

isViewText

public boolean isViewText()
Returns:
true for text node

isViewComment

public boolean isViewComment()
Returns:
true for comment