Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
javax.xml.transform.sax.SAXSource
Field Summary | |
static String |
|
Constructor Summary | |
| |
| |
|
Method Summary | |
InputSource |
|
String |
|
XMLReader |
|
void |
|
void |
|
void |
|
static InputSource |
|
public static final String FEATURE
Factory feature indicating that SAX sources are supported.
public SAXSource()
Default constructor.
public SAXSource(InputSource inputSource)
Constructor with an input source. The SAX parser will be instantiated by the transformer.
public SAXSource(XMLReader reader, InputSource inputSource)
Constructor with a SAX parser and input source.
public String getSystemId()
Returns the system ID for this source.
- Specified by:
- getSystemId in interface Source
public XMLReader getXMLReader()
Returns the SAX parser to be used by this source. If null, the transformer will instantiate its own parser.
public void setSystemId(String systemId)
Sets the system ID for this source.
- Specified by:
- setSystemId in interface Source
public void setXMLReader(XMLReader reader)
Sets the SAX parser to be used by this source. If null, the transformer will instantiate its own parser.
public static InputSource sourceToInputSource(Source source)
Converts a source into a SAX input source. This method can use a StreamSource or the system ID.
- Returns:
- an input source or null