java.lang.Object | ||
↳ | org.apache.commons.betwixt.Descriptor | |
↳ | org.apache.commons.betwixt.NodeDescriptor |
Known Direct Subclasses |
Common superclass for ElementDescriptor
and AttributeDescriptor
.
Nodes can have just a local name or they can have a local name, qualified name and a namespace uri.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Base constructor
| |||||||||||
Creates a NodeDescriptor with no namespace URI or prefix.
| |||||||||||
Creates a NodeDescriptor with namespace URI and qualified name
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the local name, excluding any namespace prefix
| |||||||||||
Gets the qualified name, including any namespace prefix
| |||||||||||
Gets the (xml) namespace URI prefix for this node.
| |||||||||||
Sets the local name
| |||||||||||
Sets the qualified name
| |||||||||||
Sets the namespace URI that this node belongs to.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.commons.betwixt.Descriptor
| |||||||||||
From class
java.lang.Object
|
Base constructor
Creates a NodeDescriptor with no namespace URI or prefix.
localName | the (xml) local name of this node. This will be used to set both qualified and local name for this name. |
---|
Creates a NodeDescriptor with namespace URI and qualified name
localName | the (xml) local name of this node |
---|---|
qualifiedName | the (xml) qualified name of this node |
uri | the (xml) namespace prefix of this node |
Gets the local name, excluding any namespace prefix
Gets the qualified name, including any namespace prefix
Gets the (xml) namespace URI prefix for this node.
Sets the local name
localName | the (xml) local name of this node |
---|
Sets the qualified name
qualifiedName | the new (xml) qualified name for this node |
---|
Sets the namespace URI that this node belongs to.
uri | the new namespace uri for this node |
---|