|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.xml.transform.sax.SAXSource
Source for a SAX parser.
Field Summary | |
static java.lang.String |
FEATURE
The feature name to tell if the transformer can handle sax input. |
Constructor Summary | |
SAXSource()
Zero-arg constructor. |
|
SAXSource(org.xml.sax.InputSource source)
Create a SAXSource with a given SAX InputSource. |
|
SAXSource(org.xml.sax.XMLReader reader,
org.xml.sax.InputSource source)
Create a SAXSource with a given SAX InputSource and SAX reader |
Method Summary | |
org.xml.sax.InputSource |
getInputSource()
Returns the SAX InputSource. |
java.lang.String |
getSystemId()
Returns the system identifier (URL). |
org.xml.sax.XMLReader |
getXMLReader()
Returns the SAX parser. |
void |
setInputSource(org.xml.sax.InputSource source)
Sets the SAX InputSource. |
void |
setSystemId(java.lang.String systemId)
Sets the system identifier (URL). |
void |
setXMLReader(org.xml.sax.XMLReader reader)
Sets the system identifier (URL). |
static org.xml.sax.InputSource |
sourceToInputSource(Source source)
Get an InputSource from the source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String FEATURE
Constructor Detail |
public SAXSource()
public SAXSource(org.xml.sax.InputSource source)
source
- the source file for a SAX parser.public SAXSource(org.xml.sax.XMLReader reader, org.xml.sax.InputSource source)
reader
- the SAX parser.source
- the source file for a SAX parser.Method Detail |
public org.xml.sax.InputSource getInputSource()
public void setInputSource(org.xml.sax.InputSource source)
public java.lang.String getSystemId()
getSystemId
in interface Source
javax.xml.transform.Source
public void setSystemId(java.lang.String systemId)
setSystemId
in interface Source
javax.xml.transform.Source
systemId
- set the system id as a URLpublic org.xml.sax.XMLReader getXMLReader()
public void setXMLReader(org.xml.sax.XMLReader reader)
public static org.xml.sax.InputSource sourceToInputSource(Source source)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |