javax.xml.transform.sax
Modifier and Type | Field and Description |
---|---|
static String |
FEATURE
Factory feature indicating that SAX sources are supported.
|
Constructor and Description |
---|
SAXSource()
Default constructor.
|
SAXSource(InputSource inputSource)
Constructor with an input source.
|
SAXSource(XMLReader reader,
InputSource inputSource)
Constructor with a SAX parser and input source.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final String FEATURE
public SAXSource()
public SAXSource(XMLReader reader, InputSource inputSource)
public SAXSource(InputSource inputSource)
public void setXMLReader(XMLReader reader)
public XMLReader getXMLReader()
public void setInputSource(InputSource inputSource)
public InputSource getInputSource()
public void setSystemId(String systemId)
setSystemId
in interface Source
systemId
- the system ID URIpublic String getSystemId()
getSystemId
in interface Source
public static InputSource sourceToInputSource(Source source)