net.sourceforge.spedit.core
Interface XMLNode

All Known Implementing Classes:
XMLElementWrapper, XMLTextWrapper

public interface XMLNode

The XMLNode interface describes the interface of the nodes, or elements, present in an XMLDocument. This interface can be used to manipulate the information present both in XMLTextWrapper and XMLElementWrapper without making the separation. When adding new node types to the XMLDocument all new element should implement this interface.


Method Summary
 int getEndOffset()
           
 XMLInformation getInformation()
           
 int getStartOffset()
           
 String getWholeText()
           
 String getWholeText(int start, int end)
           
 boolean hasInformation()
           
 void setInformation(XMLInformation info)
           
 

Method Detail

getInformation

public XMLInformation getInformation()

getWholeText

public String getWholeText()

getWholeText

public String getWholeText(int start,
                           int end)

getStartOffset

public int getStartOffset()

getEndOffset

public int getEndOffset()

setInformation

public void setInformation(XMLInformation info)

hasInformation

public boolean hasInformation()