|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.resource.impl.AbstractResourceKey
LOG-DONE
A basic implementation of ResourceKey
.
Constructor Summary | |
AbstractResourceKey(javax.xml.namespace.QName name,
java.lang.Object value)
Creates a new AbstractResourceKey. |
|
AbstractResourceKey(javax.xml.soap.SOAPHeaderElement headerElem)
Creates a new AbstractResourceKey. |
|
AbstractResourceKey(javax.xml.soap.SOAPHeaderElement headerElem,
java.lang.Class type)
Creates a new AbstractResourceKey. |
Method Summary | |
protected abstract java.lang.Object |
deserializeKey(javax.xml.soap.SOAPHeaderElement header,
java.lang.Class type)
DOCUMENT_ME |
boolean |
equals(java.lang.Object obj)
DOCUMENT_ME |
javax.xml.namespace.QName |
getName()
DOCUMENT_ME |
java.lang.Object |
getValue()
DOCUMENT_ME |
int |
hashCode()
DOCUMENT_ME |
abstract javax.xml.soap.SOAPElement |
toSOAPElement()
DOCUMENT_ME |
java.lang.String |
toString()
DOCUMENT_ME |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.ws.resource.ResourceKey |
getType |
Constructor Detail |
public AbstractResourceKey(javax.xml.namespace.QName name, java.lang.Object value)
name
- the name of the keyvalue
- the value of the key. The value of the key can be any simple/primitive type or any WSDL2Java
generated type or any other type with proper type mappings.public AbstractResourceKey(javax.xml.soap.SOAPHeaderElement headerElem, java.lang.Class type) throws InvalidResourceKeyException
headerElem
- the SOAP header element containing the key. The element's name and namespace are used as key
name.type
- the type of the key. The SOAP header element will be deserialized into this type.
InvalidResourceKeyException
- if deserialization of the key fails.public AbstractResourceKey(javax.xml.soap.SOAPHeaderElement headerElem) throws InvalidResourceKeyException
headerElem
- the SOAPElement containing the key. The element's name and namespace are used as key name.
InvalidResourceKeyException
- if deserialization of the key fails.Method Detail |
public javax.xml.namespace.QName getName()
getName
in interface ResourceKey
public java.lang.Object getValue()
getValue
in interface ResourceKey
public abstract javax.xml.soap.SOAPElement toSOAPElement() throws org.apache.commons.lang.SerializationException
toSOAPElement
in interface ResourceKey
org.apache.commons.lang.SerializationException
- DOCUMENT_MEpublic boolean equals(java.lang.Object obj)
obj
- DOCUMENT_ME
public int hashCode()
public java.lang.String toString()
protected abstract java.lang.Object deserializeKey(javax.xml.soap.SOAPHeaderElement header, java.lang.Class type) throws org.apache.commons.lang.SerializationException, InvalidResourceKeyException
header
- DOCUMENT_MEtype
- DOCUMENT_ME
org.apache.commons.lang.SerializationException
- DOCUMENT_ME
InvalidResourceKeyException
- DOCUMENT_ME
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |