public class XmlDataAttributeTag
extends XmlDataTag
Constructor and Description |
---|
XmlDataAttributeTag(java.lang.String name)
Creates an XmlDataAttribute tag for the specified attribute name when the attribute has no namespace.
|
XmlDataAttributeTag(java.lang.String name,
java.lang.String namespace)
Creates an XmlDataATtributeTag for the specified attribute name when the attribute has an ncname and a namespace.
|
Modifier and Type | Method and Description |
---|---|
static XmlDataAttributeTag |
createFromFullName(java.lang.String name)
Creates an XmlDataAttribute tag from its String representation.
|
java.lang.String |
getFullName()
Creates the String representation of an XmlDataAttributeTag from its two components in the form ncname#namespace.
|
java.lang.String |
getNcName()
Returns the ncname portion of this XmlDataAttributeTag
|
java.lang.String |
getXmlNs()
Returns the namespace portion of this XmlDataAttributeTag
|
public XmlDataAttributeTag(java.lang.String name)
name
- the ncname of the attributepublic XmlDataAttributeTag(java.lang.String name, java.lang.String namespace)
name
- the ncname of the attributenamespace
- the namespace of the attributepublic static XmlDataAttributeTag createFromFullName(java.lang.String name)
name
- the String representation on an XmlDataAttribute tagpublic java.lang.String getNcName()
public java.lang.String getXmlNs()
public java.lang.String getFullName()