public interface ParsableDocument extends Document, org.apache.cocoon.xml.XMLProducer
Parsable documents include, of course, XML documents but also HTML documents using JTidy.
SdxObject.ConfigurationNode
CLASS_NAME_SUFFIX, DOCTYPE_BINARY, DOCTYPE_GROUP, DOCTYPE_HTML, DOCTYPE_USER, DOCTYPE_XML
DEFAULT_ENCODING
Modifier and Type | Method and Description |
---|---|
void |
parse(org.apache.excalibur.xml.sax.SAXParser parser)
Parses a document using the previously supplied consumer.
|
void |
parse(org.apache.excalibur.xml.sax.SAXParser parser,
org.apache.cocoon.xml.XMLConsumer consumer)
Parses a document using a specific consumer.
|
getDocType, getLength, getMimeType, getPreferredFilename, getRepositoryForStorage, getURL, openStream, save, setContent, setContent, setContent, setContent, setId, setIdGenerator, setIdGenerator, setMimeType, setPreferredFilename, setRepositoryForStorage, setURL
getId
getDescription, setDescription
getEncoding, setEncoding
getLocale, getXmlLang, setLocale, setXmlLang
void parse(org.apache.excalibur.xml.sax.SAXParser parser) throws SDXException
parser
- The parser to useSDXException
void parse(org.apache.excalibur.xml.sax.SAXParser parser, org.apache.cocoon.xml.XMLConsumer consumer) throws SDXException
parser
- The parser to useconsumer
- The consumer of the events generated by the parseSDXException
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.