public class NameImpl extends Object implements javax.xml.soap.Name
Modifier and Type | Field and Description |
---|---|
protected String |
localName |
protected static Logger |
log |
protected String |
prefix |
static String |
SOAP_ENVELOPE_PREFIX |
static String |
SOAP11_NAMESPACE |
static String |
SOAP12_NAMESPACE |
protected String |
uri |
static String |
XML_NAMESPACE |
static String |
XML_NAMESPACE_PREFIX |
static String |
XML_SCHEMA_NAMESPACE |
static String |
XML_SCHEMA_NAMESPACE_PREFIX |
static String |
XMLNS_URI
XML Information Set REC
all namespace attributes (including those named xmlns,
whose [prefix] property has no value) have a namespace URI of http://www.w3.org/2000/xmlns/
|
Modifier | Constructor and Description |
---|---|
protected |
NameImpl(String name) |
protected |
NameImpl(String name,
String prefix,
String uri) |
Modifier and Type | Method and Description |
---|---|
static javax.xml.soap.Name |
convertToName(QName qname) |
static QName |
convertToQName(javax.xml.soap.Name name) |
static javax.xml.soap.Name |
copyElementName(Element element) |
static NameImpl |
create(String name,
String prefix,
String uri) |
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 |
createDetail1_1Name()
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 javax.xml.soap.Name |
createFromQualifiedName(String qualifiedName,
String uri) |
protected static javax.xml.soap.Name |
createFromTagAndUri(String tagName,
String uri) |
static javax.xml.soap.Name |
createFromTagName(String tagName) |
static NameImpl |
createFromUnqualifiedName(String name) |
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 |
equals(Object obj) |
String |
getLocalName()
Get the local name part of this XML Name.
|
static String |
getLocalNameFromQualifiedName(String qualifiedName) |
static String |
getLocalNameFromTagName(String tagName) |
String |
getPrefix()
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) |
String |
getQualifiedName()
Returns a String version of the name suitable for use in an XML document.
|
String |
getURI()
Returns the URI associated of the namespace.
|
static boolean |
isQualified(String tagName) |
public static final String XML_NAMESPACE_PREFIX
public static final String XML_SCHEMA_NAMESPACE_PREFIX
public static final String SOAP_ENVELOPE_PREFIX
public static final String XML_NAMESPACE
public static final String SOAP11_NAMESPACE
public static final String SOAP12_NAMESPACE
public static final String XML_SCHEMA_NAMESPACE
protected String uri
protected String localName
protected String prefix
protected static final Logger log
public static final String XMLNS_URI
protected NameImpl(String name)
public static javax.xml.soap.Name convertToName(QName qname)
public static QName convertToQName(javax.xml.soap.Name name)
public static javax.xml.soap.Name createFromTagName(String tagName)
public static javax.xml.soap.Name createFromQualifiedName(String qualifiedName, String uri)
protected static javax.xml.soap.Name createFromTagAndUri(String tagName, String uri)
protected static int getPrefixSeparatorIndex(String qualifiedName)
public static String getLocalNameFromQualifiedName(String qualifiedName)
public static boolean isQualified(String tagName)
public String getLocalName()
getLocalName
in interface javax.xml.soap.Name
public String getPrefix()
getPrefix
in interface javax.xml.soap.Name
public String getURI()
getURI
in interface javax.xml.soap.Name
public String getQualifiedName()
getQualifiedName
in interface javax.xml.soap.Name
public static NameImpl createEnvelope1_1Name(String prefix)
public static NameImpl createEnvelope1_2Name(String prefix)
public static NameImpl createHeader1_1Name(String prefix)
public static NameImpl createHeader1_2Name(String prefix)
public static NameImpl createBody1_1Name(String prefix)
public static NameImpl createBody1_2Name(String prefix)
public static NameImpl createFault1_1Name(String prefix)
public static NameImpl createNotUnderstood1_2Name(String prefix)
public static NameImpl createUpgrade1_2Name(String prefix)
public static NameImpl createSupportedEnvelope1_2Name(String prefix)
public static NameImpl createFault1_2Name(String localName, String prefix)
localName
- Local Name of elementpublic static NameImpl createCodeSubcode1_2Name(String prefix, String localName)
localName
- Either "Code" or "Subcode"public static NameImpl createDetail1_1Name()
public static NameImpl createFaultElement1_1Name(String localName, String prefix)
public static javax.xml.soap.Name copyElementName(Element element)
Copyright © 2013 Oracle. All rights reserved.