public class TagNodeImpl extends TagNode
_id, _parent, _xmlContext
_textPos
Modifier and Type | Method and Description |
---|---|
TagNode |
anyOrderChildN(java.lang.String relativeName,
XmlNameSpace nameSpace) |
XmlAttribute |
attribute(int index) |
int |
attributeQty() |
java.lang.String |
attributeValueN(java.lang.String relativeName,
XmlNameSpace nameSpace) |
void |
closeReader()
This method closes the underlying reader.
|
ROTextPosition |
endPosition()
Return the text position of the end of the node.
|
boolean |
isReaderOpen()
Checks if reader is open.
|
TagNode |
nextChildN() |
TextNode |
nextTextNodeN() |
TagNode |
peepChildN() |
void |
readRest()
Reads the rest of the node.
|
void |
setOrderedRetrieval()
By setting this, the user guarantees that subnodes of this node will be retrieved in order.
|
java.lang.String |
toString() |
void |
verifyNoMoreChildren()
After reading all the child nodes that are expected, call this
to verify that there are no additional child nodes.
|
void |
verifyNoMoreText() |
void |
verifyNoOtherChildren(TagNodeId... expectedIds) |
anyOrderBoolFieldD, anyOrderBoolFieldD, anyOrderBoolFieldD, anyOrderBoolFieldE, anyOrderBoolFieldE, anyOrderBoolFieldE, anyOrderBoolFieldN, anyOrderBoolFieldN, anyOrderBoolFieldN, anyOrderChildE, anyOrderChildE, anyOrderChildE, anyOrderChildN, anyOrderChildN, anyOrderConstFieldD, anyOrderConstFieldD, anyOrderConstFieldD, anyOrderConstFieldE, anyOrderConstFieldE, anyOrderConstFieldE, anyOrderConstFieldN, anyOrderConstFieldN, anyOrderConstFieldN, anyOrderDoubleFieldD, anyOrderDoubleFieldD, anyOrderDoubleFieldD, anyOrderDoubleFieldD, anyOrderDoubleFieldD, anyOrderDoubleFieldD, anyOrderDoubleFieldE, anyOrderDoubleFieldE, anyOrderDoubleFieldE, anyOrderDoubleFieldE, anyOrderDoubleFieldE, anyOrderDoubleFieldE, anyOrderDoubleFieldN, anyOrderDoubleFieldN, anyOrderDoubleFieldN, anyOrderDoubleFieldN, anyOrderDoubleFieldN, anyOrderDoubleFieldN, anyOrderEnumFieldD, anyOrderEnumFieldD, anyOrderEnumFieldD, anyOrderEnumFieldE, anyOrderEnumFieldE, anyOrderEnumFieldE, anyOrderEnumFieldN, anyOrderEnumFieldN, anyOrderEnumFieldN, anyOrderFloatFieldD, anyOrderFloatFieldD, anyOrderFloatFieldD, anyOrderFloatFieldD, anyOrderFloatFieldD, anyOrderFloatFieldD, anyOrderFloatFieldE, anyOrderFloatFieldE, anyOrderFloatFieldE, anyOrderFloatFieldE, anyOrderFloatFieldE, anyOrderFloatFieldE, anyOrderFloatFieldN, anyOrderFloatFieldN, anyOrderFloatFieldN, anyOrderFloatFieldN, anyOrderFloatFieldN, anyOrderFloatFieldN, anyOrderIntFieldD, anyOrderIntFieldD, anyOrderIntFieldD, anyOrderIntFieldD, anyOrderIntFieldD, anyOrderIntFieldD, anyOrderIntFieldE, anyOrderIntFieldE, anyOrderIntFieldE, anyOrderIntFieldE, anyOrderIntFieldE, anyOrderIntFieldE, anyOrderIntFieldN, anyOrderIntFieldN, anyOrderIntFieldN, anyOrderIntFieldN, anyOrderIntFieldN, anyOrderIntFieldN, anyOrderLongFieldD, anyOrderLongFieldD, anyOrderLongFieldD, anyOrderLongFieldD, anyOrderLongFieldD, anyOrderLongFieldD, anyOrderLongFieldE, anyOrderLongFieldE, anyOrderLongFieldE, anyOrderLongFieldE, anyOrderLongFieldE, anyOrderLongFieldE, anyOrderLongFieldN, anyOrderLongFieldN, anyOrderLongFieldN, anyOrderLongFieldN, anyOrderLongFieldN, anyOrderLongFieldN, anyOrderStringMappedFieldD, anyOrderStringMappedFieldD, anyOrderStringMappedFieldD, anyOrderStringMappedFieldE, anyOrderStringMappedFieldE, anyOrderStringMappedFieldE, anyOrderStringMappedFieldN, anyOrderStringMappedFieldN, anyOrderStringMappedFieldN, anyOrderTextFieldD, anyOrderTextFieldD, anyOrderTextFieldD, anyOrderTextFieldD, anyOrderTextFieldD, anyOrderTextFieldD, anyOrderTextFieldE, anyOrderTextFieldE, anyOrderTextFieldE, anyOrderTextFieldE, anyOrderTextFieldE, anyOrderTextFieldE, anyOrderTextFieldN, anyOrderTextFieldN, anyOrderTextFieldN, anyOrderTextFieldN, anyOrderTextFieldN, anyOrderTextFieldN, attributeBoolD, attributeBoolE, attributeBoolN, attributeConstD, attributeConstE, attributeConstN, attributeDoubleD, attributeDoubleD, attributeDoubleE, attributeDoubleE, attributeDoubleN, attributeDoubleN, attributeEnumD, attributeEnumE, attributeEnumN, attributeFloatD, attributeFloatD, attributeFloatE, attributeFloatE, attributeFloatN, attributeFloatN, attributeIntD, attributeIntD, attributeIntE, attributeIntE, attributeIntN, attributeIntN, attributeLongD, attributeLongD, attributeLongE, attributeLongE, attributeLongN, attributeLongN, attributes, attributeStringMappedD, attributeStringMappedE, attributeStringMappedN, attributeValueD, attributeValueD, attributeValueE, attributeValueE, attributeValueN, attributeValueN, checkConstAttribute, extractBoolFromAttrValue, extractDoubleFromAttrValue, extractDoubleFromAttrValue, extractEnumFromAttrValue, extractFloatFromAttrValue, extractFloatFromAttrValue, extractIntFromAttrValue, extractIntFromAttrValue, extractLongFromAttrValue, extractLongFromAttrValue, extractStringMappedFromAttrValue, idMatches, idMatches, makeAttributeDoesNotMatchTypeException, nextBoolFieldD, nextBoolFieldD, nextBoolFieldD, nextBoolFieldE, nextBoolFieldE, nextBoolFieldE, nextBoolFieldN, nextBoolFieldN, nextBoolFieldN, nextChildE, nextChildE, nextChildE, nextChildE, nextChildN, nextChildN, nextChildN, nextConstFieldD, nextConstFieldD, nextConstFieldD, nextConstFieldE, nextConstFieldE, nextConstFieldE, nextConstFieldN, nextConstFieldN, nextConstFieldN, nextDoubleFieldD, nextDoubleFieldD, nextDoubleFieldD, nextDoubleFieldD, nextDoubleFieldD, nextDoubleFieldD, nextDoubleFieldE, nextDoubleFieldE, nextDoubleFieldE, nextDoubleFieldE, nextDoubleFieldE, nextDoubleFieldE, nextDoubleFieldN, nextDoubleFieldN, nextDoubleFieldN, nextDoubleFieldN, nextDoubleFieldN, nextDoubleFieldN, nextEnumFieldD, nextEnumFieldD, nextEnumFieldD, nextEnumFieldE, nextEnumFieldE, nextEnumFieldE, nextEnumFieldN, nextEnumFieldN, nextEnumFieldN, nextFloatFieldD, nextFloatFieldD, nextFloatFieldD, nextFloatFieldD, nextFloatFieldD, nextFloatFieldD, nextFloatFieldE, nextFloatFieldE, nextFloatFieldE, nextFloatFieldE, nextFloatFieldE, nextFloatFieldE, nextFloatFieldN, nextFloatFieldN, nextFloatFieldN, nextFloatFieldN, nextFloatFieldN, nextFloatFieldN, nextIntFieldD, nextIntFieldD, nextIntFieldD, nextIntFieldD, nextIntFieldD, nextIntFieldD, nextIntFieldE, nextIntFieldE, nextIntFieldE, nextIntFieldE, nextIntFieldE, nextIntFieldE, nextIntFieldN, nextIntFieldN, nextIntFieldN, nextIntFieldN, nextIntFieldN, nextIntFieldN, nextLongFieldD, nextLongFieldD, nextLongFieldD, nextLongFieldD, nextLongFieldD, nextLongFieldD, nextLongFieldE, nextLongFieldE, nextLongFieldE, nextLongFieldE, nextLongFieldE, nextLongFieldE, nextLongFieldN, nextLongFieldN, nextLongFieldN, nextLongFieldN, nextLongFieldN, nextLongFieldN, nextStringArrayD, nextStringArrayD, nextStringArrayN, nextStringMappedFieldD, nextStringMappedFieldD, nextStringMappedFieldD, nextStringMappedFieldE, nextStringMappedFieldE, nextStringMappedFieldE, nextStringMappedFieldN, nextStringMappedFieldN, nextStringMappedFieldN, nextTextD, nextTextE, nextTextFieldD, nextTextFieldD, nextTextFieldD, nextTextFieldD, nextTextFieldD, nextTextFieldD, nextTextFieldE, nextTextFieldE, nextTextFieldE, nextTextFieldE, nextTextFieldE, nextTextFieldE, nextTextFieldN, nextTextFieldN, nextTextFieldN, nextTextFieldN, nextTextFieldN, nextTextFieldN, nextTextN, onlyBool, onlyDouble, onlyDouble, onlyEnum, onlyFloat, onlyFloat, onlyInt, onlyInt, onlyLong, onlyLong, onlyStringMapped, onlyText, onlyText, sortedAttributes, stringToEnum, verifyAttributeStringValue, verifyNoOtherChildren, verifyNoOtherChildren
public java.lang.String toString()
toString
in class java.lang.Object
public void closeReader()
TagNode
closeReader
in class TagNode
public boolean isReaderOpen()
TagNode
isReaderOpen
in class TagNode
public void setOrderedRetrieval()
TagNode
This option is only for this node. See read options if you want to specify this for the entire input.
setOrderedRetrieval
in class TagNode
public int attributeQty()
attributeQty
in class TagNode
public XmlAttribute attribute(int index)
public java.lang.String attributeValueN(java.lang.String relativeName, XmlNameSpace nameSpace)
attributeValueN
in class TagNode
public TextNode nextTextNodeN()
nextTextNodeN
in class TagNode
public TagNode nextChildN()
nextChildN
in class TagNode
public TagNode peepChildN()
peepChildN
in class TagNode
public void verifyNoMoreChildren()
TagNode
If this function succeeds on the root node, it will close the reader.
verifyNoMoreChildren
in class TagNode
public void verifyNoMoreText()
verifyNoMoreText
in class TagNode
public ROTextPosition endPosition()
TagNode
endPosition
in class TagNode
public void readRest()
TagNode
public TagNode anyOrderChildN(java.lang.String relativeName, XmlNameSpace nameSpace)
anyOrderChildN
in class TagNode
public void verifyNoOtherChildren(TagNodeId... expectedIds)
verifyNoOtherChildren
in class TagNode