|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.serialize.BaseMarkupSerializer
org.jasig.portal.serialize.HTMLSerializer
org.jasig.portal.serialize.XHTMLSerializer
Implements an XHTML serializer supporting both DOM and SAX
pretty serializing. For usage instructions see either Serializer
or BaseMarkupSerializer
.
Serializer
Field Summary |
Fields inherited from class org.jasig.portal.serialize.HTMLSerializer |
XHTMLNamespace |
Constructor Summary | |
XHTMLSerializer()
Constructs a new serializer. |
|
XHTMLSerializer(OutputFormat format)
Constructs a new serializer. |
|
XHTMLSerializer(java.io.OutputStream output,
OutputFormat format)
Constructs a new serializer that writes to the specified output stream using the specified output format. |
|
XHTMLSerializer(java.io.Writer writer,
OutputFormat format)
Constructs a new serializer that writes to the specified writer using the specified output format. |
Method Summary | |
void |
setOutputFormat(OutputFormat format)
Specifies an output format for this serializer. |
Methods inherited from class org.jasig.portal.serialize.HTMLSerializer |
characters, endElement, endElement, endElementIO, startAnchoring, startElement, startElement, stopAnchoring |
Methods inherited from class org.jasig.portal.serialize.BaseMarkupSerializer |
asContentHandler, asDocumentHandler, asDOMSerializer, attributeDecl, comment, comment, elementDecl, endCDATA, endDocument, endDTD, endEntity, endNonEscaping, endPrefixMapping, endPreserving, externalEntityDecl, ignorableWhitespace, internalEntityDecl, notationDecl, processingInstruction, processingInstructionIO, reset, serialize, serialize, serialize, setDocumentLocator, setOutputByteStream, setOutputCharStream, skippedEntity, startCDATA, startDocument, startDTD, startEntity, startNonEscaping, startPrefixMapping, startPreserving, unparsedEntityDecl |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XHTMLSerializer()
BaseMarkupSerializer.setOutputCharStream(Writer)
or BaseMarkupSerializer.setOutputByteStream(OutputStream)
first.
public XHTMLSerializer(OutputFormat format)
BaseMarkupSerializer.setOutputCharStream(Writer)
or BaseMarkupSerializer.setOutputByteStream(OutputStream)
first.
public XHTMLSerializer(java.io.Writer writer, OutputFormat format)
writer
- The writer to useformat
- The output format to use, null for the defaultpublic XHTMLSerializer(java.io.OutputStream output, OutputFormat format)
output
- The output stream to useformat
- The output format to use, null for the defaultMethod Detail |
public void setOutputFormat(OutputFormat format)
Serializer
setOutputFormat
in interface Serializer
setOutputFormat
in class HTMLSerializer
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |