|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.delivery.dom.serialize.Serializer
public class Serializer
Node serializer.
This class uses theContentDeliveryConfig and the
SerializationUnit instances defined there on
to perform the serialization.
| Constructor Summary | |
|---|---|
Serializer(Node node,
ExecutionContext executionContext)
Public constructor. |
|
| Method Summary | |
|---|---|
static void |
recursiveDOMWrite(Element element,
Writer writer)
Recursively write the DOM tree to the supplied writer. |
void |
serailize(Writer writer)
Serialise the document to the supplied output writer instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Serializer(Node node,
ExecutionContext executionContext)
node - Node to be serialized.executionContext - Target device context.| Method Detail |
|---|
public void serailize(Writer writer)
throws ResourceConfigurationNotFoundException,
IOException
writer - Output writer.
ResourceConfigurationNotFoundException - DOM Serialiser exception.
IOException - Unable to write to output writer.
public static void recursiveDOMWrite(Element element,
Writer writer)
throws IOException
element - Element to write.writer - Writer to use.
IOException - Exception writing to Writer.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||