Class StAX2SAXSource
- java.lang.Object
-
- javax.xml.transform.sax.SAXSource
-
- org.apache.camel.support.builder.xml.StAX2SAXSource
-
-
Constructor Summary
Constructors Constructor Description StAX2SAXSource(XMLStreamReader streamReader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentHandler
getContentHandler()
DTDHandler
getDTDHandler()
EntityResolver
getEntityResolver()
ErrorHandler
getErrorHandler()
boolean
getFeature(String name)
Object
getProperty(String name)
XMLReader
getXMLReader()
XMLStreamReader
getXMLStreamReader()
protected void
parse()
void
parse(String systemId)
void
parse(InputSource input)
void
setContentHandler(ContentHandler handler)
void
setDTDHandler(DTDHandler handler)
void
setEntityResolver(EntityResolver resolver)
void
setErrorHandler(ErrorHandler handler)
void
setFeature(String name, boolean value)
void
setProperty(String name, Object value)
-
Methods inherited from class javax.xml.transform.sax.SAXSource
getInputSource, getSystemId, isEmpty, setInputSource, setSystemId, setXMLReader, sourceToInputSource
-
-
-
-
Constructor Detail
-
StAX2SAXSource
public StAX2SAXSource(XMLStreamReader streamReader)
-
-
Method Detail
-
getXMLReader
public XMLReader getXMLReader()
- Overrides:
getXMLReader
in classSAXSource
-
getXMLStreamReader
public XMLStreamReader getXMLStreamReader()
-
parse
protected void parse() throws SAXException
- Throws:
SAXException
-
getFeature
public boolean getFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException
- Specified by:
getFeature
in interfaceXMLReader
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
-
setFeature
public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException
- Specified by:
setFeature
in interfaceXMLReader
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
-
getProperty
public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException
- Specified by:
getProperty
in interfaceXMLReader
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
-
setProperty
public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException
- Specified by:
setProperty
in interfaceXMLReader
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
-
setEntityResolver
public void setEntityResolver(EntityResolver resolver)
- Specified by:
setEntityResolver
in interfaceXMLReader
-
getEntityResolver
public EntityResolver getEntityResolver()
- Specified by:
getEntityResolver
in interfaceXMLReader
-
setDTDHandler
public void setDTDHandler(DTDHandler handler)
- Specified by:
setDTDHandler
in interfaceXMLReader
-
getDTDHandler
public DTDHandler getDTDHandler()
- Specified by:
getDTDHandler
in interfaceXMLReader
-
setContentHandler
public void setContentHandler(ContentHandler handler)
- Specified by:
setContentHandler
in interfaceXMLReader
-
getContentHandler
public ContentHandler getContentHandler()
- Specified by:
getContentHandler
in interfaceXMLReader
-
setErrorHandler
public void setErrorHandler(ErrorHandler handler)
- Specified by:
setErrorHandler
in interfaceXMLReader
-
getErrorHandler
public ErrorHandler getErrorHandler()
- Specified by:
getErrorHandler
in interfaceXMLReader
-
parse
public void parse(InputSource input) throws SAXException
- Specified by:
parse
in interfaceXMLReader
- Throws:
SAXException
-
parse
public void parse(String systemId) throws SAXException
- Specified by:
parse
in interfaceXMLReader
- Throws:
SAXException
-
-