|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cocoon.components.serializers.EncodingSerializer
org.apache.cocoon.components.serializers.XMLSerializer
org.apache.cocoon.components.serializers.XHTMLSerializer
org.apache.cocoon.components.serializers.HTMLSerializer
Field Summary | |
static DocType |
HTML401_DOCTYPE_COMPATIBLE
A cross-browser compatible very simple document type declaration. |
static DocType |
HTML401_DOCTYPE_FRAMESET
A representation of the HTML 4.01 frameset document type. |
static DocType |
HTML401_DOCTYPE_STRICT
A representation of the HTML 4.01 strict document type. |
static DocType |
HTML401_DOCTYPE_TRANSITIONAL
A representation of the HTML 4.01 transitional document type. |
Fields inherited from class org.apache.cocoon.components.serializers.XHTMLSerializer |
XHTML1_DOCTYPE_FRAMESET, XHTML1_DOCTYPE_STRICT, XHTML1_DOCTYPE_TRANSITIONAL, XHTML1_NAMESPACE |
Fields inherited from class org.apache.cocoon.components.serializers.XMLSerializer |
doctype |
Fields inherited from class org.apache.cocoon.components.serializers.EncodingSerializer |
ATTRIBUTE_LENGTH, ATTRIBUTE_LOCAL, ATTRIBUTE_NSURI, ATTRIBUTE_QNAME, ATTRIBUTE_VALUE, charset, indentPerLevel, namespaces |
Fields inherited from interface org.apache.cocoon.serialization.Serializer |
ROLE |
Constructor Summary | |
HTMLSerializer()
Create a new instance of this HTMLSerializer |
Method Summary | |
void |
body(String nsuri,
String local,
String qual)
Receive notification of the beginning of the document body. |
void |
endElementImpl(String nsuri,
String local,
String qual)
Receive notification of the end of an element. |
void |
head()
Write the XML document header. |
void |
startElementImpl(String nsuri,
String local,
String qual,
String[][] namespaces,
String[][] attributes)
Receive notification of the beginning of an element. |
Methods inherited from class org.apache.cocoon.components.serializers.XHTMLSerializer |
getMimeType |
Methods inherited from class org.apache.cocoon.components.serializers.XMLSerializer |
charactersImpl, closeElement, comment, endCDATA, endDocument, endDTD, endEntity, ignorableWhitespace, processingInstruction, recycle, skippedEntity, startCDATA, startDocument, startDTD, startEntity |
Methods inherited from class org.apache.cocoon.components.serializers.EncodingSerializer |
characters, configure, encode, encode, encode, endElement, endPrefixMapping, flush, getColumnNumber, getLineNumber, getLocation, getPublicId, getSystemId, setDocumentLocator, setOutputStream, shouldSetContentLength, startElement, startPrefixMapping, write, write, write, write, write, writeIndent, writeln, writeln |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final DocType HTML401_DOCTYPE_COMPATIBLE
public static final DocType HTML401_DOCTYPE_STRICT
public static final DocType HTML401_DOCTYPE_TRANSITIONAL
public static final DocType HTML401_DOCTYPE_FRAMESET
Constructor Detail |
public HTMLSerializer()
HTMLSerializer
Method Detail |
public void head() throws SAXException
This method overrides the default XMLSerializer
.behaviour.
head
in class XMLSerializer
SAXException
public void body(String nsuri, String local, String qual) throws SAXException
body
in class XHTMLSerializer
nsuri
- The namespace URI of the root element.local
- The local name of the root element.qual
- The fully-qualified name of the root element.
SAXException
public void startElementImpl(String nsuri, String local, String qual, String[][] namespaces, String[][] attributes) throws SAXException
startElementImpl
in class XHTMLSerializer
nsuri
- The namespace URI of the root element.local
- The local name of the root element.qual
- The fully-qualified name of the root element.namespaces
- An array of String
objects containing
the namespaces to be declared by this element.attributes
- An array of String
objects containing
all attributes of this element.
SAXException
public void endElementImpl(String nsuri, String local, String qual) throws SAXException
endElementImpl
in class XHTMLSerializer
nsuri
- The namespace URI of the root element.local
- The local name of the root element.qual
- The fully-qualified name of the root element.
SAXException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |