Constructor and Description |
---|
PrefixedQName(QName qname)
Constructor PrefixedQName
|
PrefixedQName(String uri,
String localName,
String prefix)
Constructor PrefixedQName.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getLocalName()
Gets the local name part of the XML name that this
Name object represents. |
String |
getPrefix()
Returns the prefix associated with the namespace for the XML name that this
Name
object represents. |
String |
getQualifiedName()
Gets the namespace-qualified name of the XML name that this
Name object
represents. |
String |
getURI()
Returns the URI of the namespace for the XML name that this
Name object
represents. |
int |
hashCode() |
String |
toString() |
public PrefixedQName(String uri, String localName, String prefix)
uri
- localName
- prefix
- public PrefixedQName(QName qname)
qname
- public String getLocalName()
Name
object represents.getLocalName
in interface Name
public String getQualifiedName()
Name
object
represents.getQualifiedName
in interface Name
public String getURI()
Name
object
represents.public String getPrefix()
Name
object represents.Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.