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.
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()