|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis.encoding.SerializationContext
org.apache.axis.encoding.TextSerializationContext
For internal use only. Used to get the first text node of an element.
| Field Summary |
| Fields inherited from class org.apache.axis.encoding.SerializationContext |
log, startOfDocument |
| Constructor Summary | |
TextSerializationContext(java.io.Writer writer)
|
|
TextSerializationContext(java.io.Writer writer,
MessageContext msgContext)
|
|
| Method Summary | |
void |
endElement()
Writes the end element tag for the open element. |
void |
serialize(QName elemQName,
org.xml.sax.Attributes attributes,
java.lang.Object value,
QName xmlType,
java.lang.Boolean sendNull,
java.lang.Boolean sendType)
Serialize the indicated value as an element with the name indicated by elemQName. |
void |
startElement(QName qName,
org.xml.sax.Attributes attributes)
Writes (using the Writer) the start tag for element QName along with the indicated attributes and namespace mappings. |
void |
writeChars(char[] p1,
int p2,
int p3)
Convenience operation to write out (to Writer) the characters in p1 starting at index p2 for length p3. |
void |
writeDOMElement(org.w3c.dom.Element el)
Output a DOM representation to a SerializationContext |
void |
writeString(java.lang.String string)
Convenience operation to write out (to Writer) the String |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextSerializationContext(java.io.Writer writer)
public TextSerializationContext(java.io.Writer writer,
MessageContext msgContext)
| Method Detail |
public void serialize(QName elemQName,
org.xml.sax.Attributes attributes,
java.lang.Object value,
QName xmlType,
java.lang.Boolean sendNull,
java.lang.Boolean sendType)
throws java.io.IOException
SerializationContext
serialize in class SerializationContextelemQName - is the QName of the elementattributes - are additional attributesvalue - is the object to serializexmlType - is the qname of the type or null.sendNull - determines whether to send null values.sendType - determines whether to set xsi:type attribute.
java.io.IOException
public void writeDOMElement(org.w3c.dom.Element el)
throws java.io.IOException
SerializationContext
writeDOMElement in class SerializationContextel - is a DOM Element
java.io.IOException
public void startElement(QName qName,
org.xml.sax.Attributes attributes)
throws java.io.IOException
SerializationContext
startElement in class SerializationContextqName - is the name of the elementattributes - are the attributes to write
java.io.IOException
public void endElement()
throws java.io.IOException
SerializationContext
endElement in class SerializationContextjava.io.IOException
public void writeChars(char[] p1,
int p2,
int p3)
throws java.io.IOException
SerializationContext
writeChars in class SerializationContextp1 - character array to writep2 - starting index in arrayp3 - length to write
java.io.IOException
public void writeString(java.lang.String string)
throws java.io.IOException
SerializationContext
writeString in class SerializationContextstring - is the String to write.
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||