|
Milyn-Smooks Version 0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.delivery.serialize.AbstractSerializationUnit
org.milyn.delivery.serialize.DefaultSerializationUnit
Default SerializationUnit implementation.
Default SerialisationUnit where none defined. Also, takes a CDRDef parameter:
| Constructor Summary | |
DefaultSerializationUnit(CDRDef unitDef)
Public constructor. |
|
| Method Summary | |
java.lang.String |
getDetailDescription()
Get a detail (more verbose) description of the Content Delivery Unit and what it does. |
java.lang.String |
getShortDescription()
Get a short description of the Content Delivery Unit and what it does. |
protected void |
writeAttributes(org.w3c.dom.NamedNodeMap attributes,
java.io.Writer writer)
Write the element attributes. |
boolean |
writeChildElements()
Write the child elements of the element this SerializationUnit is being applied to. |
void |
writeElementCDATA(org.w3c.dom.CDATASection cdata,
java.io.Writer writer,
ContainerRequest containerRequest)
Write element CDATA section. |
void |
writeElementComment(org.w3c.dom.Comment comment,
java.io.Writer writer,
ContainerRequest containerRequest)
Write element comment. |
void |
writeElementEnd(org.w3c.dom.Element element,
java.io.Writer writer,
ContainerRequest containerRequest)
Write the element end portion; close the element. |
void |
writeElementEntityRef(org.w3c.dom.EntityReference entityRef,
java.io.Writer writer,
ContainerRequest containerRequest)
Write element entity reference object. |
void |
writeElementNode(org.w3c.dom.Node node,
java.io.Writer writer,
ContainerRequest containerRequest)
Write element Node object. |
void |
writeElementStart(org.w3c.dom.Element element,
java.io.Writer writer,
ContainerRequest containerRequest)
Write the element start portion; the element name and it's attributes. |
void |
writeElementText(org.w3c.dom.Text text,
java.io.Writer writer,
ContainerRequest containerRequest)
Write element text. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultSerializationUnit(CDRDef unitDef)
unitDef - | Method Detail |
public void writeElementStart(org.w3c.dom.Element element,
java.io.Writer writer,
ContainerRequest containerRequest)
throws java.io.IOException
SerializationUnit
element - The element start to write.writer - The writer to be written to.containerRequest - ContainerRequest instance for the delivery context.
java.io.IOException - Exception writing output.
protected void writeAttributes(org.w3c.dom.NamedNodeMap attributes,
java.io.Writer writer)
throws java.io.IOException
attributes - The element attibutes.writer - The writer to be written to.
java.io.IOException - Exception writing output.
public void writeElementEnd(org.w3c.dom.Element element,
java.io.Writer writer,
ContainerRequest containerRequest)
throws java.io.IOException
SerializationUnit
element - The element end to write.writer - The writer to be written to.containerRequest - ContainerRequest instance for the delivery context.
java.io.IOException - Exception writing output.
public void writeElementText(org.w3c.dom.Text text,
java.io.Writer writer,
ContainerRequest containerRequest)
throws java.io.IOException
SerializationUnit
text - The Text object to write.writer - The writer to be written to.containerRequest - ContainerRequest instance for the delivery context.
java.io.IOException - Exception writing output.
public void writeElementComment(org.w3c.dom.Comment comment,
java.io.Writer writer,
ContainerRequest containerRequest)
throws java.io.IOException
SerializationUnit
comment - The comment o write.writer - The writer to be written to.containerRequest - ContainerRequest instance for the delivery context.
java.io.IOException - Exception writing output.
public void writeElementEntityRef(org.w3c.dom.EntityReference entityRef,
java.io.Writer writer,
ContainerRequest containerRequest)
throws java.io.IOException
SerializationUnit
entityRef - The entity reference to write.writer - The writer to be written to.containerRequest - ContainerRequest instance for the delivery context.
java.io.IOException - Exception writing output.
public void writeElementCDATA(org.w3c.dom.CDATASection cdata,
java.io.Writer writer,
ContainerRequest containerRequest)
throws java.io.IOException
SerializationUnit
cdata - The CDATA section to write.writer - The writer to be written to.containerRequest - ContainerRequest instance for the delivery context.
java.io.IOException - Exception writing output.
public void writeElementNode(org.w3c.dom.Node node,
java.io.Writer writer,
ContainerRequest containerRequest)
throws java.io.IOException
SerializationUnit
node - The node to write.writer - The writer to be written to.containerRequest - ContainerRequest instance for the delivery context.
java.io.IOException - Exception writing output.public java.lang.String getShortDescription()
ContentDeliveryUnit
ContentDeliveryUnit.getDetailDescription()public java.lang.String getDetailDescription()
ContentDeliveryUnit
ContentDeliveryUnit.getShortDescription()public boolean writeChildElements()
SerializationUnit
|
Milyn-Smooks Version 0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||