Deprecated
as a consequence of AbstractXmlDriver being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private DocumentBuilderFactory | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | DomDriver(String encoding, XmlFriendlyReplacer replacer)
Deprecated
As of 1.4, use
DomDriver(String, NameCoder) instead.
|
| Modifier and Type | Method and Description |
|---|---|
| protected DocumentBuilderFactory | |
| public HierarchicalStreamReader | createReader(Reader
the in)Reader with the data to parseImplements com. |
| public HierarchicalStreamReader | createReader(InputStream
the in)InputStream with the data to parseImplements com. |
| public HierarchicalStreamReader | createReader(URL
the in)URL defining the location with the data to parseOverrides com. Implements com. |
| public HierarchicalStreamReader | createReader(File
the in)URL defining the location with the data to parseOverrides com. Implements com. |
| private HierarchicalStreamReader | |
| public HierarchicalStreamWriter | createWriter(Writer
the out)Writer to receive the formatted dataImplements com. |
| public HierarchicalStreamWriter | createWriter(OutputStream
the out)OutputStream to receive the formatted dataImplements com. |
| documentBuilderFactory | back to summary |
|---|---|
| private DocumentBuilderFactory documentBuilderFactory | |
| encoding | back to summary |
|---|---|
| private final String encoding | |
| DomDriver | back to summary |
|---|---|
| public DomDriver() Construct a DomDriver. | |
| DomDriver | back to summary |
|---|---|
| public DomDriver(String encoding) Construct a DomDriver with a specified encoding. The created DomReader will ignore any encoding attribute of the XML header though. | |
| DomDriver | back to summary |
|---|---|
public DomDriver(String encoding, NameCoder nameCoder)
| |
| DomDriver | back to summary |
|---|---|
| public DomDriver(String encoding, XmlFriendlyReplacer replacer)
Deprecated As of 1.4, use
| |
| createDocumentBuilderFactory | back to summary |
|---|---|
| protected DocumentBuilderFactory createDocumentBuilderFactory() Create the DocumentBuilderFactory instance.
| |
| createReader | back to summary |
|---|---|
| public HierarchicalStreamReader createReader(Reader in) Implements com. Doc from com. Create the HierarchicalStreamReader with the stream parser reading from the IO reader.
| |
| createReader | back to summary |
|---|---|
| public HierarchicalStreamReader createReader(InputStream in) Implements com. Doc from com. Create the HierarchicalStreamReader with the stream parser reading from the input stream.
| |
| createReader | back to summary |
|---|---|
| public HierarchicalStreamReader createReader(URL in) Overrides com. Implements com. Doc from com. Create the HierarchicalStreamReader with the stream parser reading from a URL. Depending on the parser implementation, some might take the URL as SystemId to resolve additional references.
| |
| createReader | back to summary |
|---|---|
| public HierarchicalStreamReader createReader(File in) Overrides com. Implements com. Doc from com. Create the HierarchicalStreamReader with the stream parser reading from a File. Depending on the parser implementation, some might take the file path as SystemId to resolve additional references.
| |
| createReader | back to summary |
|---|---|
| private HierarchicalStreamReader createReader(InputSource source) | |
| createWriter | back to summary |
|---|---|
| public HierarchicalStreamWriter createWriter(Writer out) Implements com. Doc from com. Create the HierarchicalStreamWriter with the formatted writer.
| |
| createWriter | back to summary |
|---|---|
| public HierarchicalStreamWriter createWriter(OutputStream out) Implements com. Doc from com. Create the HierarchicalStreamWriter with the formatted writer.
| |