Class Element
java.lang.Object
org.camunda.bpm.engine.impl.util.xml.Element
Represents one XML element.
- Author:
- Tom Baeyens, Joram Barrez
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidappendText(String text) Due to the nature of SAX parsing, sometimes the characters of an element are not processed at once.attributeNS(Namespace namespace, String name) attributeNS(Namespace namespace, String name, String defaultValue) voidcollectIds(List<String> ids) allows to recursively collect the ids of all elements in the tree.protected StringcomposeMapKey(String attributeUri, String attributeName) elements()elementsNS(String nameSpaceUri, String tagName) elementsNS(Namespace nameSpace, String tagName) intintgetLine()getText()getUri()toString()
-
Field Details
-
uri
-
tagName
-
attributeMap
-
line
protected int line -
column
protected int column -
text
-
elements
-
-
Constructor Details
-
Element
-
-
Method Details
-
elements
-
elementsNS
-
elementsNS
-
element
-
elementNS
-
add
-
attribute
-
attributes
-
attributeNS
-
attribute
-
attributeNS
-
composeMapKey
-
elements
-
toString
-
getUri
-
getTagName
-
getLine
public int getLine() -
getColumn
public int getColumn() -
appendText
Due to the nature of SAX parsing, sometimes the characters of an element are not processed at once. So instead of a setText operation, we need to have an appendText operation. -
getText
-
collectIds
allows to recursively collect the ids of all elements in the tree.
-