public class ParsableDocumentSource
extends org.apache.excalibur.source.impl.AbstractSource
| Modifier and Type | Field and Description |
|---|---|
protected ParsableDocument |
_parsableDocument |
| Constructor and Description |
|---|
ParsableDocumentSource(org.apache.avalon.framework.service.ServiceManager manager,
ParsableDocument document) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists() |
org.xml.sax.InputSource |
getInputSource() |
java.lang.String |
getSystemId() |
void |
toSAX(org.xml.sax.ContentHandler handler)
Stream content to a content handler or to an XMLConsumer.
|
protected ParsableDocument _parsableDocument
public ParsableDocumentSource(org.apache.avalon.framework.service.ServiceManager manager,
ParsableDocument document)
public org.xml.sax.InputSource getInputSource()
throws java.io.IOException,
org.apache.cocoon.ProcessingException
java.io.IOExceptionorg.apache.cocoon.ProcessingExceptionpublic java.lang.String getSystemId()
public void toSAX(org.xml.sax.ContentHandler handler)
throws org.xml.sax.SAXException,
org.apache.cocoon.ProcessingException
org.apache.cocoon.ResourceNotFoundException - if file not found or
HTTP location does not exist.org.xml.sax.SAXException - if failed to parse source document.org.apache.cocoon.ProcessingExceptionpublic boolean exists()
Source.exists()Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.