|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xpointer.TextPoint
This class represents a character point according to the XPointer CR. It has a container text node and an index.
Constructor Summary | |
TextPoint(TextTree textTree)
Creates new TextPoint |
Method Summary | |
org.w3c.dom.Node |
getContainer()
Getter for property container. |
int |
getIndex()
Getter for property index. |
protected TextTree |
getTextTree()
Returns the tree which the point belongs to. |
int |
retrievePrecedingCharacters()
Returns the number of characters preceding the point inside its tree. |
void |
setContainer(org.w3c.dom.Node container)
Setter for property container. |
void |
setIndex(int index)
Setter for property index. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextPoint(TextTree textTree)
the
- tree which the point belongs to.Method Detail |
public org.w3c.dom.Node getContainer()
public void setContainer(org.w3c.dom.Node container)
container
- New value of property container.public int getIndex()
public void setIndex(int index)
index
- New value of property index.public int retrievePrecedingCharacters()
protected TextTree getTextTree()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |