org.ws4d.java.io.xml
Class XmlSerializerImplementation

java.lang.Object
  extended by org.xmlpull.mxp1_serializer.MXSerializer
      extended by org.ws4d.java.io.xml.XmlSerializerImplementation
All Implemented Interfaces:
org.xmlpull.v1.XmlSerializer

public class XmlSerializerImplementation
extends org.xmlpull.mxp1_serializer.MXSerializer
implements XmlSerializer


Field Summary
static int XML_SERIALIZER
           
 
Constructor Summary
XmlSerializerImplementation()
           
 
Method Summary
 void flushCache()
           
 java.io.Writer getOutput()
           
 int getType()
           
 void injectSecurityDone()
           
 void injectSecurityStart()
           
 void plainText(java.lang.String text)
          Write a block of XML directly to the underlying stream, especially without escaping any special chars.
 void setOutput(java.io.Writer writer)
           
 void unknownElements(QName qname, List elements)
           
 
Methods inherited from class org.xmlpull.mxp1_serializer.MXSerializer
attribute, cdsect, comment, docdecl, endDocument, endTag, entityRef, flush, getDepth, getFeature, getName, getNamespace, getPrefix, getProperty, getWriter, ignorableWhitespace, processingInstruction, setFeature, setOutput, setPrefix, setProperty, startDocument, startTag, text, text
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xmlpull.v1.XmlSerializer
attribute, cdsect, comment, docdecl, endDocument, endTag, entityRef, flush, getDepth, getFeature, getName, getNamespace, getPrefix, getProperty, ignorableWhitespace, processingInstruction, setFeature, setOutput, setPrefix, setProperty, startDocument, startTag, text, text
 

Field Detail

XML_SERIALIZER

public static final int XML_SERIALIZER
See Also:
Constant Field Values
Constructor Detail

XmlSerializerImplementation

public XmlSerializerImplementation()
Method Detail

setOutput

public void setOutput(java.io.Writer writer)
Specified by:
setOutput in interface org.xmlpull.v1.XmlSerializer
Overrides:
setOutput in class org.xmlpull.mxp1_serializer.MXSerializer
Parameters:
writer - the writer to set

plainText

public void plainText(java.lang.String text)
               throws java.io.IOException
Write a block of XML directly to the underlying stream, especially without escaping any special chars.

Parameters:
text - the XML block to write
Throws:
java.io.IOException

unknownElements

public void unknownElements(QName qname,
                            List elements)
                     throws java.io.IOException
Parameters:
qname - the fully qualified name of the elements to expect within list
elements - the list of elements to serialize; all are expected to be of the same type; note that this list can be empty or have just one element
Throws:
java.io.IOException

getType

public int getType()

getOutput

public java.io.Writer getOutput()

injectSecurityDone

public void injectSecurityDone()

injectSecurityStart

public void injectSecurityStart()

flushCache

public void flushCache()