fr.gouv.culture.sdx.document
Interface ParsableDocument
- All Superinterfaces:
- org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable, Describable, Document, Encodable, Identifiable, Localizable, org.apache.avalon.framework.logger.LogEnabled, SdxObject, org.apache.avalon.framework.service.Serviceable, org.apache.excalibur.xml.sax.XMLizable, org.apache.cocoon.xml.XMLProducer
- All Known Implementing Classes:
- AbstractConcept, AbstractIdentity, Group, HTMLDocument, LuceneConcept, OAIDocument, User, XMLDocument
public interface ParsableDocument
- extends Document, org.apache.cocoon.xml.XMLProducer
An interface for documents that can be parsed in an XML sense.
Parsable documents include, of course, XML documents but also HTML
documents using JTidy.
Method Summary |
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. |
Methods inherited from interface fr.gouv.culture.sdx.document.Document |
getDocType, getLength, getMimeType, getPreferredFilename, getRepositoryForStorage, getURL, openStream, save, setContent, setContent, setContent, setContent, setId, setIdGenerator, setIdGenerator, setMimeType, setPreferredFilename, setRepositoryForStorage, setURL |
Methods inherited from interface fr.gouv.culture.sdx.utils.SdxObject |
getLog |
Methods inherited from interface org.apache.avalon.framework.logger.LogEnabled |
enableLogging |
Methods inherited from interface org.apache.avalon.framework.context.Contextualizable |
contextualize |
Methods inherited from interface org.apache.avalon.framework.service.Serviceable |
service |
Methods inherited from interface org.apache.avalon.framework.configuration.Configurable |
configure |
Methods inherited from interface org.apache.excalibur.xml.sax.XMLizable |
toSAX |
Methods inherited from interface org.apache.cocoon.xml.XMLProducer |
setConsumer |
parse
void parse(org.apache.excalibur.xml.sax.SAXParser parser)
throws SDXException
- Parses a document using the previously supplied consumer.
- Parameters:
parser
- The parser to use
- Throws:
SDXException
parse
void parse(org.apache.excalibur.xml.sax.SAXParser parser,
org.apache.cocoon.xml.XMLConsumer consumer)
throws SDXException
- Parses a document using a specific consumer.
- Parameters:
parser
- The parser to useconsumer
- The consumer of the events generated by the parse
- Throws:
SDXException
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.