|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.xml.namespace.QName org.apache.axis.message.addressing.AttributedQName org.apache.axis.message.addressing.ServiceNameType
public class ServiceNameType
Java content class for ServiceNameType complex type.
The following schema fragment specifies the expected content contained within this java content object. (defined at http://schemas.xmlsoap.org/ws/2004/08/addressing line 67)
<complexType name="ServiceNameType"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>QName"> <attribute name="PortName" type="{http://www.w3.org/2001/XMLSchema}NCName" /> </extension> </simpleContent> </complexType>
Constructor Summary | |
---|---|
ServiceNameType(javax.xml.namespace.QName qname)
Creates a new instance. |
|
ServiceNameType(javax.xml.namespace.QName qname,
java.lang.String port)
Creates a new instance. |
|
ServiceNameType(ServiceNameType serviceName)
Creates a new instance. |
|
ServiceNameType(java.lang.String namespace,
java.lang.String localName)
Creates a new instance. |
Method Summary | |
---|---|
void |
append(AddressingVersion version,
org.w3c.dom.Element parent,
java.lang.String elementName)
Appends a DOM representation of this instance to the specified element. |
void |
append(org.w3c.dom.Element parent)
Appends a DOM representation of this instance to the specified element. |
static ServiceNameType |
fromElement(org.w3c.dom.Element element)
Parses an XML element node and extracts an instance of this class. |
static ServiceNameType |
fromSOAPElement(javax.xml.soap.SOAPElement element)
Parses a SOAP element and extracts an instance of this class. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(java.lang.String mType,
java.lang.Class<?> jType,
javax.xml.namespace.QName xType)
Gets a custom Deserializer. |
java.lang.String |
getPort()
Gets the service port. |
static org.apache.axis.encoding.Serializer |
getSerializer(java.lang.String mType,
java.lang.Class<?> jType,
javax.xml.namespace.QName xType)
Gets a custom Serializer. |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return the type description object. |
void |
setPort(java.lang.String port)
Sets the service port. |
Methods inherited from class org.apache.axis.message.addressing.AttributedQName |
---|
append |
Methods inherited from class javax.xml.namespace.QName |
---|
equals, getLocalPart, getNamespaceURI, getPrefix, hashCode, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServiceNameType(javax.xml.namespace.QName qname)
qname
- Service qualified namepublic ServiceNameType(javax.xml.namespace.QName qname, java.lang.String port)
qname
- Service qualified nameport
- Service portpublic ServiceNameType(ServiceNameType serviceName)
serviceName
- Service name to copypublic ServiceNameType(java.lang.String namespace, java.lang.String localName)
namespace
- Service namespacelocalName
- Service local nameMethod Detail |
---|
public static ServiceNameType fromElement(org.w3c.dom.Element element)
element
- Element to parse
public static ServiceNameType fromSOAPElement(javax.xml.soap.SOAPElement element)
element
- Element to parse
public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mType, java.lang.Class<?> jType, javax.xml.namespace.QName xType)
mType
- not usedjType
- Java typexType
- XML type
public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mType, java.lang.Class<?> jType, javax.xml.namespace.QName xType)
mType
- not usedjType
- Java typexType
- XML type
public static org.apache.axis.description.TypeDesc getTypeDesc()
public void append(AddressingVersion version, org.w3c.dom.Element parent, java.lang.String elementName)
append
in interface DOMAppendable
append
in class AttributedQName
version
- WS-Addressing version to useparent
- Parent elementelementName
- Name of the element to createpublic void append(org.w3c.dom.Element parent)
This method should call DOMAppendable.append(Element, String)
with a default value for the elementName parameter. Abstract
classes, or those to be always subclassed may optionally
throw UnsupportedOperationException
instead.
append
in interface DOMAppendable
append
in class AttributedQName
parent
- Parent elementpublic java.lang.String getPort()
public void setPort(java.lang.String port)
port
- New service port name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |