public class WbxmlEncoder
extends java.lang.Object
Constructor and Description |
---|
WbxmlEncoder(java.lang.String defaultNamespace,
WbxmlOutput buf)
The constructor creates an internal document handler.
|
Modifier and Type | Method and Description |
---|---|
void |
convert(javax.xml.transform.Source in)
converts the XML data from the given SAX InputSource and writes the
result to the given OutputStream
|
void |
end() |
void |
endByteArray() |
void |
endString() |
void |
header() |
void |
startByteArray(int len) |
void |
startString() |
void |
switchNamespace(java.lang.String ns) |
void |
writeByteArray(byte[] bytes) |
void |
writeElement(java.lang.String name) |
void |
writeEmptyElement(java.lang.String name) |
void |
writeStrI(java.lang.String s) |
public WbxmlEncoder(java.lang.String defaultNamespace, WbxmlOutput buf)
public void convert(javax.xml.transform.Source in) throws org.xml.sax.SAXException, java.io.IOException
org.xml.sax.SAXException
java.io.IOException
public void writeStrI(java.lang.String s) throws java.io.IOException
java.io.IOException
public void startString() throws java.io.IOException
java.io.IOException
public void endString() throws java.io.IOException
java.io.IOException
public void switchNamespace(java.lang.String ns) throws java.io.IOException
java.io.IOException
public void writeElement(java.lang.String name) throws java.io.IOException
java.io.IOException
public void writeEmptyElement(java.lang.String name) throws java.io.IOException
java.io.IOException
public void end()
public void startByteArray(int len) throws java.io.IOException
java.io.IOException
public void endByteArray()
public void writeByteArray(byte[] bytes) throws java.io.IOException
java.io.IOException
public void header() throws java.io.IOException
java.io.IOException
Copyright © 2021. All Rights Reserved.