public class XPathQName
extends java.lang.Object
This class represents the pairing of a local name and a namespace uri. Additionally it can be marked as namespace aware or not. When an XPathQName is not namespace aware then the namespace uri will be ignored during equality checks even if an namespaceUri is set.
Constructor and Description |
---|
XPathQName()
Create a new XPathQName.
|
XPathQName(javax.xml.namespace.QName qname,
boolean namespaceAware)
Create a new XPathQName with the specified QName
|
XPathQName(java.lang.String localName,
boolean namespaceAware)
Create a new XPathQName with the specified local name.
|
XPathQName(java.lang.String namespaceUri,
java.lang.String localName,
boolean namespaceAware)
Create a new XPathQName with the specified local name and namespace
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
public XPathQName()
localName
- The local name to associate with this XPathQNamepublic XPathQName(java.lang.String localName, boolean namespaceAware)
localName
- The local name to associate with this XPathQNamemediaType
- the mediaType associate with this XPathQNamepublic XPathQName(java.lang.String namespaceUri, java.lang.String localName, boolean namespaceAware)
namespaceUri
- The namespace to associate with this XPathQNamelocalName
- The local name to associate with this XPathQNamenamespaceAware
- set if namespaces should be processed or ignoredpublic XPathQName(javax.xml.namespace.QName qname, boolean namespaceAware)
QName
- The QName to build this XPathQName fromnamespaceAware
- set if namespaces should be processed or ignoredEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference