Package ghidra.xml
Class XmlElementImpl
java.lang.Object
ghidra.xml.XmlElementImpl
- All Implemented Interfaces:
XmlElement
-
Constructor Summary
ConstructorDescriptionXmlElementImpl
(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) int
int
getLevel()
int
getName()
getText()
boolean
hasAttribute
(String key) boolean
boolean
isEnd()
boolean
isStart()
void
setAttribute
(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:
getColumnNumber
in interfaceXmlElement
-
getLineNumber
public int getLineNumber()- Specified by:
getLineNumber
in interfaceXmlElement
-
hasAttribute
- Specified by:
hasAttribute
in interfaceXmlElement
-
getAttribute
- Specified by:
getAttribute
in interfaceXmlElement
-
getAttributes
- Specified by:
getAttributes
in interfaceXmlElement
-
getAttributeIterator
- Specified by:
getAttributeIterator
in interfaceXmlElement
-
setAttribute
- Specified by:
setAttribute
in interfaceXmlElement
-
getLevel
public int getLevel()- Specified by:
getLevel
in interfaceXmlElement
-
getName
- Specified by:
getName
in interfaceXmlElement
-
getText
- Specified by:
getText
in interfaceXmlElement
-
isContent
public boolean isContent()- Specified by:
isContent
in interfaceXmlElement
-
isEnd
public boolean isEnd()- Specified by:
isEnd
in interfaceXmlElement
-
isStart
public boolean isStart()- Specified by:
isStart
in interfaceXmlElement
-
toString
-
splitEmptyElement
-