org.apache.batik.dom.svg
public class SAXSVGDocumentFactory extends SAXDocumentFactory implements SVGDocumentFactory
| Field Summary | |
|---|---|
| protected static String | dtdids
The accepted DTD public IDs. |
| protected static Properties | dtdProps
The ResourceBunder for the public and system ids |
| protected static String | DTDIDS
The dtd public IDs resource bundle class name. |
| protected static String | HTTP_CHARSET
Constant for HTTP content type header charset field. |
| static String | KEY_PUBLIC_IDS
Key used for public identifiers |
| static String | KEY_SKIPPABLE_PUBLIC_IDS
Key used for public identifiers |
| static String | KEY_SKIP_DTD
Key used for the skippable DTD substitution |
| static String | KEY_SYSTEM_ID
Key used for system identifiers |
| static Object | LOCK |
| protected static String | skippable_dtdids
The DTD public IDs we know we can skip. |
| protected static String | skip_dtd
The DTD content to use when skipping |
| Constructor Summary | |
|---|---|
| SAXSVGDocumentFactory(String parser)
Creates a new SVGDocumentFactory object. | |
| SAXSVGDocumentFactory(String parser, boolean dd)
Creates a new SVGDocumentFactory object. | |
| Method Summary | |
|---|---|
| Document | createDocument(String uri)
Creates a SVG Document instance.
|
| Document | createDocument(String uri, InputStream inp)
Creates a SVG Document instance. |
| Document | createDocument(String uri, Reader r)
Creates a SVG Document instance. |
| Document | createDocument(String ns, String root, String uri)
Creates a Document instance. |
| Document | createDocument(String ns, String root, String uri, InputStream is)
Creates a Document instance. |
| Document | createDocument(String ns, String root, String uri, Reader r)
Creates a Document instance. |
| SVGDocument | createSVGDocument(String uri) |
| SVGDocument | createSVGDocument(String uri, InputStream inp)
Creates a SVG Document instance. |
| SVGDocument | createSVGDocument(String uri, Reader r)
Creates a SVG Document instance. |
| DOMImplementation | getDOMImplementation(String ver) |
| InputSource | resolveEntity(String publicId, String systemId)
SAX2: Implements org.xml.sax.EntityResolver#resolveEntity(String,String). |
| void | startDocument()
SAX: Implements org.xml.sax.ContentHandler#startDocument(). |
Parameters: parser The SAX2 parser classname.
Parameters: parser The SAX2 parser classname. dd Whether a document descriptor must be generated.
Parameters: uri The document URI.
Throws: IOException if an error occured while reading the document.
Parameters: uri The document URI. inp The document input stream.
Throws: IOException if an error occured while reading the document.
Parameters: uri The document URI. r The document reader.
Throws: IOException if an error occured while reading the document.
Parameters: ns The namespace URI of the root element of the document. root The name of the root element of the document. uri The document URI.
Throws: IOException if an error occured while reading the document.
Parameters: ns The namespace URI of the root element of the document. root The name of the root element of the document. uri The document URI. is The document input stream.
Throws: IOException if an error occured while reading the document.
Parameters: ns The namespace URI of the root element of the document. root The name of the root element of the document. uri The document URI. r The document reader.
Throws: IOException if an error occured while reading the document.
Parameters: uri The document URI. inp The document input stream.
Throws: IOException if an error occured while reading the document.
Parameters: uri The document URI. r The document reader.
Throws: IOException if an error occured while reading the document.