public class DaffodilParseXMLReader
extends java.lang.Object
implements org.xml.sax.XMLReader
Constructor and Description |
---|
DaffodilParseXMLReader(org.apache.daffodil.runtime1.processors.DaffodilParseXMLReader xmlrdr) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
DAFFODIL_SAX_URN_BLOBDIRECTORY()
Property name to get/set blob directory as String from the
DaffodilParseXMLReader |
static java.lang.String |
DAFFODIL_SAX_URN_BLOBPREFIX()
Property name to get/set blob prefix as String from the
DaffodilParseXMLReader |
static java.lang.String |
DAFFODIL_SAX_URN_BLOBSUFFIX()
Property name to get/set blob suffix as String from the
DaffodilParseXMLReader |
static java.lang.String |
DAFFODIL_SAX_URN_PARSERESULT()
Property name to get the
ParseResult from the DaffodilParseXMLReader . |
org.xml.sax.ContentHandler |
getContentHandler()
Retrieve registered content handler
|
org.xml.sax.DTDHandler |
getDTDHandler()
Retrieve registered DTD Handler
|
org.xml.sax.EntityResolver |
getEntityResolver()
Return the registered entity resolver
|
org.xml.sax.ErrorHandler |
getErrorHandler()
Retrieve registered error handler
|
boolean |
getFeature(java.lang.String name)
Get the value of the feature flag
|
java.lang.Object |
getProperty(java.lang.String name)
Get the value of the property
|
void |
parse(byte[] arr)
Parse input data from an array of bytes.
|
void |
parse(org.xml.sax.InputSource input)
Parse input data from an InputSource.
|
void |
parse(InputSourceDataInputStream isdis)
Parse input data from an InputSourceDataInputStream.
|
void |
parse(java.io.InputStream stream)
Parse input data from an InputStream.
|
void |
parse(java.lang.String systemId)
Parse data from a system identifier/URI.
|
void |
setContentHandler(org.xml.sax.ContentHandler handler)
Register a content handler
|
void |
setDTDHandler(org.xml.sax.DTDHandler handler)
Register a DTD Handler
|
void |
setEntityResolver(org.xml.sax.EntityResolver resolver)
Register an entity resolver
|
void |
setErrorHandler(org.xml.sax.ErrorHandler handler)
Register an error handler
|
void |
setFeature(java.lang.String name,
boolean value)
Set the value of the feature flag
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
Set the value of the property
|
public DaffodilParseXMLReader(org.apache.daffodil.runtime1.processors.DaffodilParseXMLReader xmlrdr)
public static java.lang.String DAFFODIL_SAX_URN_PARSERESULT()
ParseResult
from the DaffodilParseXMLReader
. This property is read only.public static java.lang.String DAFFODIL_SAX_URN_BLOBDIRECTORY()
DaffodilParseXMLReader
public static java.lang.String DAFFODIL_SAX_URN_BLOBPREFIX()
DaffodilParseXMLReader
public static java.lang.String DAFFODIL_SAX_URN_BLOBSUFFIX()
DaffodilParseXMLReader
public boolean getFeature(java.lang.String name)
getFeature
in interface org.xml.sax.XMLReader
name
- feature flag whose value is to be retrievedpublic void setFeature(java.lang.String name, boolean value)
setFeature
in interface org.xml.sax.XMLReader
name
- feature flag to be setvalue
- value to be assigned to feature flagpublic java.lang.Object getProperty(java.lang.String name)
getProperty
in interface org.xml.sax.XMLReader
name
- property whose value is to be retrievedpublic void setProperty(java.lang.String name, java.lang.Object value)
setProperty
in interface org.xml.sax.XMLReader
name
- property whose value is to be setvalue
- value to be assigned to the propertypublic void setEntityResolver(org.xml.sax.EntityResolver resolver)
setEntityResolver
in interface org.xml.sax.XMLReader
resolver
- entity resolver to be registeredpublic org.xml.sax.EntityResolver getEntityResolver()
getEntityResolver
in interface org.xml.sax.XMLReader
public void setDTDHandler(org.xml.sax.DTDHandler handler)
setDTDHandler
in interface org.xml.sax.XMLReader
handler
- DTD Handler to be registeredpublic org.xml.sax.DTDHandler getDTDHandler()
getDTDHandler
in interface org.xml.sax.XMLReader
public void setContentHandler(org.xml.sax.ContentHandler handler)
setContentHandler
in interface org.xml.sax.XMLReader
handler
- content handler to be registeredpublic org.xml.sax.ContentHandler getContentHandler()
getContentHandler
in interface org.xml.sax.XMLReader
public void setErrorHandler(org.xml.sax.ErrorHandler handler)
setErrorHandler
in interface org.xml.sax.XMLReader
handler
- error handler to be registeredpublic org.xml.sax.ErrorHandler getErrorHandler()
getErrorHandler
in interface org.xml.sax.XMLReader
public void parse(org.xml.sax.InputSource input)
parse
in interface org.xml.sax.XMLReader
input
- data to be parsedpublic void parse(java.lang.String systemId)
parse
in interface org.xml.sax.XMLReader
systemId
- URI for data to be parsedpublic void parse(InputSourceDataInputStream isdis)
isdis
- data to be parsedpublic void parse(java.io.InputStream stream)
stream
- data to be parsedpublic void parse(byte[] arr)
arr
- data to be parsed