java.lang.Object
com.sun.xml.messaging.saaj.soap.name.NameImpl
- All Implemented Interfaces:
Name
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Name
convertToName
(QName qname) static QName
convertToQName
(Name name) static Name
copyElementName
(Element element) static NameImpl
static NameImpl
createBody1_1Name
(String prefix) Create a name object for a SOAP1.1 Body.static NameImpl
createBody1_2Name
(String prefix) Create a name object for a SOAP1.2 Body.static NameImpl
createCodeSubcode1_2Name
(String prefix, String localName) Create a name object for a SOAP1.2 Fault/Code or Subcode.static NameImpl
Create a name object for a SOAP1.1 Fault Detail.static NameImpl
createDetail1_1Name
(String prefix) static NameImpl
createEnvelope1_1Name
(String prefix) Create a name object for a SOAP1.1 Envelope.static NameImpl
createEnvelope1_2Name
(String prefix) Create a name object for a SOAP1.2 Envelope.static NameImpl
createFault1_1Name
(String prefix) Create a name object for a SOAP1.1 Fault.static NameImpl
createFault1_2Name
(String localName, String prefix) Create a name object for a SOAP1.2 Fault, Reason or Detail.static NameImpl
createFaultElement1_1Name
(String localName) static NameImpl
createFaultElement1_1Name
(String localName, String prefix) static Name
createFromQualifiedName
(String qualifiedName, String uri) protected static Name
createFromTagAndUri
(String tagName, String uri) static Name
createFromTagName
(String tagName) static NameImpl
static NameImpl
createHeader1_1Name
(String prefix) Create a name object for a SOAP1.1 Header.static NameImpl
createHeader1_2Name
(String prefix) Create a name object for a SOAP1.2 Header.static NameImpl
createNotUnderstood1_2Name
(String prefix) Create a name object for a SOAP1.2 NotUnderstood element.static String
createQName
(String prefix, String localName) static NameImpl
createSOAP11Name
(String string) static NameImpl
createSOAP12Name
(String string) static NameImpl
createSOAP12Name
(String localName, String prefix) static NameImpl
createSupportedEnvelope1_2Name
(String prefix) Create a name object for a SOAP1.2 SupportedEnvelope Upgrade element.static NameImpl
createUpgrade1_2Name
(String prefix) Create a name object for a SOAP1.2 Upgrade element.static NameImpl
createXmlName
(String localName) boolean
Get the local name part of this XML Name.static String
getLocalNameFromQualifiedName
(String qualifiedName) static String
getLocalNameFromTagName
(String tagName) Returns the prefix associated with the namespace of the name.static String
getPrefixFromQualifiedName
(String qualifiedName) static String
getPrefixFromTagName
(String tagName) protected static int
getPrefixSeparatorIndex
(String qualifiedName) Returns a String version of the name suitable for use in an XML document.getURI()
Returns the URI associated of the namespace.int
hashCode()
static boolean
isQualified
(String tagName)
-
Field Details
-
SOAP_ENVELOPE_PREFIX
- See Also:
-
SOAP11_NAMESPACE
- See Also:
-
SOAP12_NAMESPACE
- See Also:
-
uri
-
localName
-
prefix
-
-
Constructor Details
-
NameImpl
-
NameImpl
-
-
Method Details
-
convertToName
-
convertToQName
-
createFromUnqualifiedName
-
createFromTagName
-
createFromQualifiedName
-
createFromTagAndUri
-
getPrefixSeparatorIndex
-
getPrefixFromQualifiedName
-
getLocalNameFromQualifiedName
-
getPrefixFromTagName
-
getLocalNameFromTagName
-
isQualified
-
create
-
createQName
-
equals
-
hashCode
public int hashCode() -
getLocalName
Get the local name part of this XML Name.- Specified by:
getLocalName
in interfaceName
- Returns:
- a string for the local name.
-
getPrefix
Returns the prefix associated with the namespace of the name. -
getURI
Returns the URI associated of the namespace. -
getQualifiedName
Returns a String version of the name suitable for use in an XML document.- Specified by:
getQualifiedName
in interfaceName
- Returns:
- the namespace-qualified name as a string
-
createEnvelope1_1Name
Create a name object for a SOAP1.1 Envelope.- Parameters:
prefix
- prefix- Returns:
- Envelope Name
-
createEnvelope1_2Name
Create a name object for a SOAP1.2 Envelope.- Parameters:
prefix
- prefix- Returns:
- Envelope Name
-
createHeader1_1Name
Create a name object for a SOAP1.1 Header.- Parameters:
prefix
- prefix- Returns:
- Header Name
-
createHeader1_2Name
Create a name object for a SOAP1.2 Header.- Parameters:
prefix
- prefix- Returns:
- Header Name
-
createBody1_1Name
Create a name object for a SOAP1.1 Body.- Parameters:
prefix
- prefix- Returns:
- Body Name
-
createBody1_2Name
Create a name object for a SOAP1.2 Body.- Parameters:
prefix
- prefix- Returns:
- Body Name
-
createFault1_1Name
Create a name object for a SOAP1.1 Fault.- Parameters:
prefix
- prefix- Returns:
- Fault Name
-
createNotUnderstood1_2Name
Create a name object for a SOAP1.2 NotUnderstood element.- Parameters:
prefix
- prefix- Returns:
- NotUnderstood Name
-
createUpgrade1_2Name
Create a name object for a SOAP1.2 Upgrade element.- Parameters:
prefix
- prefix- Returns:
- Upgrade Name
-
createSupportedEnvelope1_2Name
Create a name object for a SOAP1.2 SupportedEnvelope Upgrade element.- Parameters:
prefix
- prefix- Returns:
- Supported Envelope Name
-
createFault1_2Name
Create a name object for a SOAP1.2 Fault, Reason or Detail.- Parameters:
localName
- Local Name of elementprefix
- prefix- Returns:
- Fault Name
-
createCodeSubcode1_2Name
Create a name object for a SOAP1.2 Fault/Code or Subcode.- Parameters:
prefix
- prefixlocalName
- Either "Code" or "Subcode"- Returns:
- CodeSubcode Name
-
createDetail1_1Name
Create a name object for a SOAP1.1 Fault Detail.- Returns:
- Detail Name
-
createDetail1_1Name
-
createFaultElement1_1Name
-
createFaultElement1_1Name
-
createSOAP11Name
-
createSOAP12Name
-
createSOAP12Name
-
createXmlName
-
copyElementName
-