com.japisoft.fastparser.node
Interface ViewableNode

All Known Implementing Classes:
SimpleNode

public interface ViewableNode

View the content of the node

Version:
1.0
Author:
(c) 2002-2003 JAPISOFT

Method Summary
 java.lang.String getDefaultNamespace()
           
 java.util.Enumeration getNameSpaceDeclaration()
           
 java.lang.String getNameSpaceDeclarationURI(java.lang.String prefix)
           
 java.lang.String getNameSpacePrefix()
           
 java.lang.String getNameSpaceURI()
           
 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

getNameSpaceDeclaration

public java.util.Enumeration getNameSpaceDeclaration()
Returns:
nameSpace prefix support

getNameSpaceDeclarationURI

public java.lang.String getNameSpaceDeclarationURI(java.lang.String prefix)
Returns:
a nameSpace declaration URI for this prefix

getNameSpacePrefix

public java.lang.String getNameSpacePrefix()
Returns:
the current nameSpace prefix

getNameSpaceURI

public java.lang.String getNameSpaceURI()
Returns:
the current nameSpace URI

getDefaultNamespace

public java.lang.String getDefaultNamespace()
Returns:
the Default namespace

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