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 Object
- implements IAspectBinaryStream
Serialise DOM to a binary stream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializedDOMAspect
public SerializedDOMAspect(Node aNode,
boolean aIsHTML)
getEncoding
public String getEncoding()
- Specified by:
getEncoding
in interface IAspectBinaryStream
write
public void write(OutputStream aStream)
throws IOException
- Description copied from interface:
IAspectBinaryStream
- Write state to OutputStream
- Specified by:
write
in interface IAspectBinaryStream
- Parameters:
aStream
- the output stream
- Throws:
IOException
- thrown if we fail to write
writeEscaped
public static void writeEscaped(Writer aWriter,
String aInput)
throws IOException
- Throws:
IOException
writeAttr
public static void writeAttr(Writer aWriter,
String aInput)
throws IOException
- Throws:
IOException
Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.