org.ten60.netkernel.xml.transrepresentation
Class SerializedDOMAspect
java.lang.Object
org.ten60.netkernel.xml.transrepresentation.SerializedDOMAspect
- All Implemented Interfaces:
- IAspectBinaryStream, IURAspect
public class SerializedDOMAspect
- extends java.lang.Object
- implements IAspectBinaryStream
Serialise DOM to a binary stream
|
Method Summary |
java.lang.String |
getEncoding()
|
void |
write(java.io.OutputStream aStream)
Write state to OutputStream |
static void |
writeAttr(java.io.Writer aWriter,
java.lang.String aInput)
|
static void |
writeEscaped(java.io.Writer aWriter,
java.lang.String aInput)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializedDOMAspect
public SerializedDOMAspect(org.w3c.dom.Node aNode,
boolean aIsHTML)
getEncoding
public java.lang.String getEncoding()
- Specified by:
getEncoding in interface IAspectBinaryStream
write
public void write(java.io.OutputStream aStream)
throws java.io.IOException
- Description copied from interface:
IAspectBinaryStream
- Write state to OutputStream
- Specified by:
write in interface IAspectBinaryStream
- Parameters:
aStream - the output stream
- Throws:
java.io.IOException - thrown if we fail to write
writeEscaped
public static void writeEscaped(java.io.Writer aWriter,
java.lang.String aInput)
throws java.io.IOException
- Throws:
java.io.IOException
writeAttr
public static void writeAttr(java.io.Writer aWriter,
java.lang.String aInput)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.