|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Item
Common ancestor of all classes representing sections of XML documents that contain material other than whitespace.
Method Summary | |
---|---|
boolean |
contentEquals(Characters Contents)
Tests the content of this item for equality with a set of characters. |
Characters |
getContent()
Returns a Characters object containing the content of this item. |
Methods inherited from interface edu.utexas.its.eis.tools.qwicap.template.xml.structure.Range |
---|
clone, isEmptyTag, isEndTag, isStartTag, isTagWithAttributes, rangeEquals, toString, write |
Method Detail |
---|
boolean contentEquals(Characters Contents)
getContent()
for an explanation
of what constitutes "content" in this context.) The test is sensitive to case.
Contents
- The set of characters to be tested for equality with this item's content.
true
if the content of this item matches the specified characters,
false
otherwise.Characters getContent()
Characters
object containing the content of this item. For an XML element like
"<a href='qwicap.html'>", the content is "a href='qwicap.html'". For the text
between XML elements, the content is the text without any leading or trailing whitespace. (If the text is
entirely whitespace, the content is considered to consist of zero characters.) For an XML comment like
"<-- Hello, world. -->", the content is "Hello, world.".
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |