Package ghidra.xml
Class XmlElementImpl
java.lang.Object
ghidra.xml.XmlElementImpl
- All Implemented Interfaces:
XmlElement
-
Constructor Summary
ConstructorsConstructorDescriptionXmlElementImpl(boolean isStart, boolean isEnd, String name, int level, LinkedHashMap<String, String> attributes, String text, int columnNumber, int lineNumber) -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String key) intintgetLevel()intgetName()getText()booleanhasAttribute(String key) booleanbooleanisEnd()booleanisStart()voidsetAttribute(String key, String value) static XmlElement[]splitEmptyElement(XmlElementImpl element) toString()
-
Constructor Details
-
XmlElementImpl
public XmlElementImpl(boolean isStart, boolean isEnd, String name, int level, LinkedHashMap<String, String> attributes, String text, int columnNumber, int lineNumber)
-
-
Method Details
-
getColumnNumber
public int getColumnNumber()- Specified by:
getColumnNumberin interfaceXmlElement
-
getLineNumber
public int getLineNumber()- Specified by:
getLineNumberin interfaceXmlElement
-
hasAttribute
- Specified by:
hasAttributein interfaceXmlElement
-
getAttribute
- Specified by:
getAttributein interfaceXmlElement
-
getAttributes
- Specified by:
getAttributesin interfaceXmlElement
-
getAttributeIterator
- Specified by:
getAttributeIteratorin interfaceXmlElement
-
setAttribute
- Specified by:
setAttributein interfaceXmlElement
-
getLevel
public int getLevel()- Specified by:
getLevelin interfaceXmlElement
-
getName
- Specified by:
getNamein interfaceXmlElement
-
getText
- Specified by:
getTextin interfaceXmlElement
-
isContent
public boolean isContent()- Specified by:
isContentin interfaceXmlElement
-
isEnd
public boolean isEnd()- Specified by:
isEndin interfaceXmlElement
-
isStart
public boolean isStart()- Specified by:
isStartin interfaceXmlElement
-
toString
-
splitEmptyElement
-