public interface ParsableDocument extends Document, org.apache.cocoon.xml.XMLProducer
Parsable documents include, of course, XML documents but also HTML documents using JTidy.
SdxObject.ConfigurationNodeCLASS_NAME_SUFFIX, DOCTYPE_BINARY, DOCTYPE_GROUP, DOCTYPE_HTML, DOCTYPE_USER, DOCTYPE_XMLDEFAULT_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, setURLgetIdgetDescription, setDescriptiongetEncoding, setEncodinggetLocale, getXmlLang, setLocale, setXmlLangvoid parse(org.apache.excalibur.xml.sax.SAXParser parser)
throws SDXException
parser - The parser to useSDXExceptionvoid 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 parseSDXExceptionCopyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.