java.lang.Object
org.eclipse.persistence.internal.oxm.XPathQName
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.
- Since:
- Eclipselink 2.4
-
Constructor Summary
ConstructorDescriptionCreate a new XPathQName.XPathQName
(String localName, boolean namespaceAware) Create a new XPathQName with the specified local name.XPathQName
(String namespaceUri, String localName, boolean namespaceAware) Create a new XPathQName with the specified local name and namespaceXPathQName
(QName qname, boolean namespaceAware) Create a new XPathQName with the specified QName -
Method Summary
-
Constructor Details
-
XPathQName
public XPathQName()Create a new XPathQName. namespaceUri will be "" and isNamespaceAware will be true. -
XPathQName
Create a new XPathQName with the specified local name. namespaceUri will be null and isNamespaceAware will be set based on the MediaType.- Parameters:
localName
- The local name to associate with this XPathQName
-
XPathQName
Create a new XPathQName with the specified local name and namespace- Parameters:
namespaceUri
- The namespace to associate with this XPathQNamelocalName
- The local name to associate with this XPathQNamenamespaceAware
- set if namespaces should be processed or ignored
-
XPathQName
Create a new XPathQName with the specified QName- Parameters:
qname
- The QName to build this XPathQName fromnamespaceAware
- set if namespaces should be processed or ignored
-
-
Method Details