|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.jaxws.marshaller.impl.alt.Element
public class Element
Characteristics of the "Element" value. The Element value is ready for marshalling or is the result of unmarshalling. The Element value represents the element rendering. Thus it is either a JAXBElement or has the @XmlRootElement annotation. (i.e. it is never a java.lang.String) The Element value is not a JAX-WS object. (i.e. it is not a holder or exception) Characteristics of the "Type" value It is the type value associated with the element value. (Thus it is either the element value or it is value of the JAXBElement The type value is usually the object needed for the method signature (i.e. String)
Here is an example for illustration:
At the signature level, the values passed as arguments in an SEI operation represent type
enabled objects. Each of the object must be converted to an element enabled object to
marshal (or conversely converted to a type enabled object when unmarshalling)
Constructor Summary | |
---|---|
Element(java.lang.Object elementValue,
QName qName)
Create Element from an |
|
Element(java.lang.Object typeValue,
QName qName,
java.lang.Class cls)
|
Method Summary | |
---|---|
java.lang.Object |
getElementValue()
|
QName |
getQName()
|
java.lang.Object |
getTypeValue()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Element(java.lang.Object elementValue, QName qName)
elementValue
- must be JAXBElement or @XmlRootElement renderedqName
- associated QNamepublic Element(java.lang.Object typeValue, QName qName, java.lang.Class cls)
typeValue
- must not be a JAXBElement. Must not have @XmlRootElement rendering.
typeValue must not be a Holder or other JAXWS api value.qName
- associated QNamecls
- Method Detail |
---|
public java.lang.Object getElementValue()
public java.lang.Object getTypeValue()
public QName getQName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |