|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.xml.transform.sax.SAXSource
public class SAXSource
Specifies a SAX XML source. This is a tuple of input source and SAX parser.
| Field Summary | |
|---|---|
static String |
FEATURE
Factory feature indicating that SAX sources are supported. |
| Constructor Summary | |
|---|---|
SAXSource()
Default constructor. |
|
SAXSource(InputSource inputSource)
Constructor with an input source. |
|
SAXSource(XMLReader reader,
InputSource inputSource)
Constructor with a SAX parser and input source. |
|
| Method Summary | |
|---|---|
InputSource |
getInputSource()
Returns the input source to parse. |
String |
getSystemId()
Returns the system ID for this source. |
XMLReader |
getXMLReader()
Returns the SAX parser to be used by this source. |
void |
setInputSource(InputSource inputSource)
Sets the input source to parse. |
void |
setSystemId(String systemId)
Sets the system ID for this source. |
void |
setXMLReader(XMLReader reader)
Sets the SAX parser to be used by this source. |
static InputSource |
sourceToInputSource(Source source)
Converts a source into a SAX input source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FEATURE
| Constructor Detail |
|---|
public SAXSource()
public SAXSource(XMLReader reader,
InputSource inputSource)
public SAXSource(InputSource inputSource)
| Method Detail |
|---|
public void setXMLReader(XMLReader reader)
public XMLReader getXMLReader()
public void setInputSource(InputSource inputSource)
public InputSource getInputSource()
public void setSystemId(String systemId)
setSystemId in interface SourcesystemId - the system ID URIpublic String getSystemId()
getSystemId in interface Sourcepublic static InputSource sourceToInputSource(Source source)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||