|
Test webapp | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectadriani.webapp.axis.Element
public class Element
Parent class for all the classes representing a SOAP message used by the web service.
Field Summary | |
---|---|
java.lang.String |
elementName
|
protected java.lang.String |
leadingName
The leading name of each message logged on the standard output. |
javax.xml.namespace.QName |
MY_QNAME
The Qualified name for the XML element. |
java.lang.String |
nodeValue
CLASS ATTRIBUTES BY STEVE |
static boolean |
VERBOSE
|
Constructor Summary | |
---|---|
Element(java.lang.String name)
This constructor has been created only for training purposes, in order to ease the understanding of the package structure of the classes produced by Eclipse. |
Method Summary | |
---|---|
java.lang.String |
getNodeValue()
General accessor. |
OMElement |
getOMElement(javax.xml.namespace.QName parentQName,
OMFactory factory)
Return the OMElement object. |
javax.xml.stream.XMLStreamReader |
getPullParser(javax.xml.namespace.QName qName)
databinding method to get an XML representation of this object |
static boolean |
isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader)
isReaderMTOMAware |
void |
serialize(javax.xml.namespace.QName parentQName,
OMFactory factory,
MTOMAwareXMLStreamWriter xmlWriter)
|
void |
serialize(javax.xml.namespace.QName parentQName,
OMFactory factory,
MTOMAwareXMLStreamWriter xmlWriter,
boolean serializeType)
|
void |
setNodeValue(java.lang.String param)
General mutator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String nodeValue
public java.lang.String elementName
public static boolean VERBOSE
protected java.lang.String leadingName
public javax.xml.namespace.QName MY_QNAME
public static final QName MY_QNAME = new QName("http://www.example.org/", elementName, "ns1")
XXXMessageReceiverInOut.toOM()
and XXXMessageReceiverInOut.toEnvelope()
to obtain the QName reference even if no instance of the element is available. But this choice forces
to use a custom ADBBean implementation for each SOAP message! To simplify this Axis2 tutorial,
we have modified the XXXMessageReceiverInOut
methods in order to access only non-static
references of the element QName. In this way we can use this class as the parent class for all the
other elements classes.
Constructor Detail |
---|
public Element(java.lang.String name)
Factory
inner class (see Element_1
and Element_2
).
name
- the not qualified name for this element.Method Detail |
---|
public java.lang.String getNodeValue()
getElement_1()
or getElement_2()
.
public void setNodeValue(java.lang.String param)
setElement_1()
or setElement_2()
.
param
- the text string to be used as the node content.public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader)
public OMElement getOMElement(javax.xml.namespace.QName parentQName, OMFactory factory) throws ADBException
OMElement
object.
parentQName
- factory
-
ADBException
public void serialize(javax.xml.namespace.QName parentQName, OMFactory factory, MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException, ADBException
javax.xml.stream.XMLStreamException
ADBException
public void serialize(javax.xml.namespace.QName parentQName, OMFactory factory, MTOMAwareXMLStreamWriter xmlWriter, boolean serializeType) throws javax.xml.stream.XMLStreamException, ADBException
javax.xml.stream.XMLStreamException
ADBException
public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) throws ADBException
ADBException
|
Build 10/01/2013 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |