|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.document.LiteXMLElement.tagRange
A tagRange is a collection of char ranges useful for describing XML structures.
startTag
body
startTag
and endTag
.endTag
startTag
, body
and endTag
will be equal.
Field Summary | |
LiteXMLElement.charRange |
body
|
LiteXMLElement.charRange |
endTag
|
LiteXMLElement.charRange |
startTag
|
Constructor Summary | |
LiteXMLElement.tagRange()
|
|
LiteXMLElement.tagRange(LiteXMLElement.charRange startTag,
LiteXMLElement.charRange body,
LiteXMLElement.charRange endTag)
|
Method Summary | |
int |
compareTo(Object aRange)
|
boolean |
contains(LiteXMLElement.charRange someRange)
Returns true if the charRange specified by someRange is
contained within the body portion of this range. |
boolean |
contains(LiteXMLElement.tagRange someRange)
Returns true if the tagRange specified by someRange is
contained within the body portion of this range. |
boolean |
equals(Object aRange)
|
boolean |
isEmptyElement()
Returns true if this tagRange represents and empty
element. |
boolean |
isValid()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public LiteXMLElement.charRange startTag
public LiteXMLElement.charRange body
public LiteXMLElement.charRange endTag
Constructor Detail |
public LiteXMLElement.tagRange()
public LiteXMLElement.tagRange(LiteXMLElement.charRange startTag, LiteXMLElement.charRange body, LiteXMLElement.charRange endTag)
Method Detail |
public boolean equals(Object aRange)
public int compareTo(Object aRange)
compareTo
in interface Comparable
public String toString()
public boolean contains(LiteXMLElement.tagRange someRange)
tagRange
specified by someRange is
contained within the body portion of this range.
someRange
- The range which must be contained within this range.
public boolean contains(LiteXMLElement.charRange someRange)
charRange
specified by someRange is
contained within the body portion of this range.
someRange
- The range which must be contained within this range.
public boolean isEmptyElement()
true
if this tagRange represents and empty
element.
public boolean isValid()
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |