Methods Summary |
---|
public void | characters(java.lang.String chars)
try {
nativeCharacters(mNativeHandle, chars);
} catch (IllegalArgumentException e) {
throw new SerializerException(e);
}
|
public void | endElement()
try {
nativeEndElement(mNativeHandle);
} catch (IllegalArgumentException e) {
throw new SerializerException(e);
}
|
protected void | finalize()
if (mNativeHandle != 0) {
nativeRelease(mNativeHandle);
}
|
native void | nativeCharacters(int nativeHandle, java.lang.String characters)
|
native int | nativeCreate(int publicId)
|
native void | nativeEndElement(int nativeHandle)
|
native void | nativeRelease(int nativeHandle)
|
native void | nativeReset(int nativeHandle)
|
native void | nativeStartElement(int nativeHandle, java.lang.String name, java.lang.String[] atts)
|
void | onWbxmlData(byte[] data, int len)Called by native encoder to send result data.
if (mOut != null) {
mOut.write(data, 0, len);
}
|
public void | reset()
nativeReset(mNativeHandle);
mOut = null;
|
public void | setOutput(java.io.OutputStream out)
mOut = out;
|
public void | startElement(java.lang.String name, java.lang.String[] atts)
try {
nativeStartElement(mNativeHandle, name, atts);
} catch (IllegalArgumentException e) {
throw new SerializerException(e);
}
|