|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.manifmerger.XmlNode
com.android.manifmerger.OrphanXmlElement
public class OrphanXmlElement
An xml element that does not belong to a XmlDocument
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.android.manifmerger.XmlNode |
---|
XmlNode.NodeKey, XmlNode.NodeName |
Field Summary |
---|
Fields inherited from class com.android.manifmerger.XmlNode |
---|
NODE_TO_NAME |
Constructor Summary | |
---|---|
OrphanXmlElement(org.w3c.dom.Element xml)
|
Method Summary | |
---|---|
XmlNode.NodeKey |
getId()
Returns an unique id within the manifest file for the element. |
java.lang.String |
getKey()
Returns the unique key for this xml element within the xml file or null if there can be only one element of this type. |
XmlNode.NodeName |
getName()
Returns the name of this xml element or attribute. |
com.android.utils.PositionXmlParser.Position |
getPosition()
Returns the element's position |
XmlLoader.SourceLocation |
getSourceLocation()
Returns the element's document xml source file location. |
com.android.manifmerger.ManifestModel.NodeTypes |
getType()
Returns this xml element ManifestModel.NodeTypes |
org.w3c.dom.Element |
getXml()
Returns the element's xml |
boolean |
isA(com.android.manifmerger.ManifestModel.NodeTypes type)
Returns true if this xml element's ManifestModel.NodeTypes is
the passed one. |
Methods inherited from class com.android.manifmerger.XmlNode |
---|
fromNSName, fromXmlName, getColumn, getLine, printPosition, printPosition, unwrapName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrphanXmlElement(@NonNull org.w3c.dom.Element xml)
Method Detail |
---|
public boolean isA(com.android.manifmerger.ManifestModel.NodeTypes type)
ManifestModel.NodeTypes
is
the passed one.
@NonNull public org.w3c.dom.Element getXml()
XmlNode
getXml
in class XmlNode
public XmlNode.NodeKey getId()
XmlNode
getId
in class XmlNode
public XmlNode.NodeName getName()
XmlNode
getName
in class XmlNode
@NonNull public com.android.manifmerger.ManifestModel.NodeTypes getType()
ManifestModel.NodeTypes
@Nullable public java.lang.String getKey()
public com.android.utils.PositionXmlParser.Position getPosition()
XmlNode
getPosition
in class XmlNode
@NonNull public XmlLoader.SourceLocation getSourceLocation()
XmlNode
getSourceLocation
in class XmlNode
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |