|
Gridarta Editor
|
Injects a <!DOCTYPE...> declaration into an. More...
Inheritance diagram for net.sf.gridarta.utils.xml.FixedDtdInputStream:
Collaboration diagram for net.sf.gridarta.utils.xml.FixedDtdInputStream:Public Member Functions | |
| FixedDtdInputStream (@NotNull final InputStream inputStream, @NotNull final String rootElement, @NotNull final String systemId) | |
| Creates a new instance. More... | |
| int | read () throws IOException |
Private Attributes | |
| InputStream | inject |
| The InputStream that injects the <!DOCTYPE...> declaration. More... | |
| final InputStream | inputStream |
| The InputStream that is modified. More... | |
| final String | rootElement |
| The tag name of the root element in the DOCTYPE declaration. More... | |
| int | state |
| The current state. More... | |
| final String | systemId |
| The system ID for the DOCTYPE declaration. More... | |
Injects a <!DOCTYPE...> declaration into an.
if it does not contain one. The input stream should contain XML.
Definition at line 34 of file FixedDtdInputStream.java.
| net.sf.gridarta.utils.xml.FixedDtdInputStream.FixedDtdInputStream | ( | @NotNull final InputStream | inputStream, |
| @NotNull final String | rootElement, | ||
| @NotNull final String | systemId | ||
| ) |
Creates a new instance.
| inputStream | the input stream to modify |
| rootElement | the tag name of the root element in the DOCTYPE declaration |
| systemId | the system ID for the DOCTYPE declaration |
Definition at line 73 of file FixedDtdInputStream.java.
References net.sf.gridarta.utils.xml.FixedDtdInputStream.inputStream, net.sf.gridarta.utils.xml.FixedDtdInputStream.rootElement, and net.sf.gridarta.utils.xml.FixedDtdInputStream.systemId.
| int net.sf.gridarta.utils.xml.FixedDtdInputStream.read | ( | ) | throws IOException |
Definition at line 80 of file FixedDtdInputStream.java.
|
private |
The InputStream that injects the <!DOCTYPE...> declaration.
Set to null when not injecting bytes.
Definition at line 64 of file FixedDtdInputStream.java.
|
private |
The InputStream that is modified.
Definition at line 40 of file FixedDtdInputStream.java.
Referenced by net.sf.gridarta.utils.xml.FixedDtdInputStream.FixedDtdInputStream().
|
private |
The tag name of the root element in the DOCTYPE declaration.
Definition at line 46 of file FixedDtdInputStream.java.
Referenced by net.sf.gridarta.utils.xml.FixedDtdInputStream.FixedDtdInputStream().
|
private |
The current state.
Definition at line 57 of file FixedDtdInputStream.java.
|
private |
The system ID for the DOCTYPE declaration.
Definition at line 52 of file FixedDtdInputStream.java.
Referenced by net.sf.gridarta.utils.xml.FixedDtdInputStream.FixedDtdInputStream().