| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getBaseURI()
Implements org. systemId to an absolute URI.
|
| public InputStream | getByteStream()
Implements org. |
| public boolean | getCertifiedText()
Implements org. |
| public Reader | getCharacterStream()
Implements org. |
| public Element | |
| public String | |
| public String | getPublicId()
Implements org. |
| public String | |
| public String | getSystemId()
Implements org. |
| public void | setBaseURI(String baseURI)
Implements org. systemId to an absolute URI.
|
| public void | setByteStream(InputStream byteStream)
Implements org. |
| public void | setCertifiedText(boolean certifiedText)
Implements org. |
| public void | setCharacterStream(Reader characterStream)
Implements org. |
| public void | setEncoding(String encoding)
Implements org. |
| public void | setPublicId(String publicId)
Implements org. |
| public void | setStringData(String stringData)
Implements org. |
| public void | setSystemId(String systemId)
Implements org. |
| baseURI | back to summary |
|---|---|
| private String baseURI | |
| element | back to summary |
|---|---|
| private Element element | |
| systemId | back to summary |
|---|---|
| private String systemId | |
| DOMLSInputImpl | back to summary |
|---|---|
| public DOMLSInputImpl(String baseURI, String systemId, Element data) | |
| getBaseURI | back to summary |
|---|---|
| public String getBaseURI() Implements org. Doc from org. The base URI to be used (see section 5.1.4 in [IETF RFC 2396]) for
resolving a relative | |
| getByteStream | back to summary |
|---|---|
| public InputStream getByteStream() Implements org. Doc from org. An attribute of a language and binding dependent type that represents
a stream of bytes.
| |
| getCertifiedText | back to summary |
|---|---|
| public boolean getCertifiedText() Implements org. Doc from org. If set to true, assume that the input is certified (see section 2.13 in [XML 1.1]) when parsing [XML 1.1]. | |
| getCharacterStream | back to summary |
|---|---|
| public Reader getCharacterStream() Implements org. Doc from org. An attribute of a language and binding dependent type that represents a stream of 16-bit units. The application must encode the stream using UTF-16 (defined in [Unicode] and in [ISO/IEC 10646]). It is not a requirement to have an XML declaration when using character streams. If an XML declaration is present, the value of the encoding attribute will be ignored. | |
| getElement | back to summary |
|---|---|
| public Element getElement() Implements com. | |
| getEncoding | back to summary |
|---|---|
| public String getEncoding() Implements org. Doc from org. The character encoding, if known. The encoding must be a string
acceptable for an XML encoding declaration ([XML 1.0] section
4.3.3 "Character Encoding in Entities").
| |
| getPublicId | back to summary |
|---|---|
| public String getPublicId() Implements org. Doc from org. The public identifier for this input source. This may be mapped to an input source using an implementation dependent mechanism (such as catalogues or other mappings). The public identifier, if specified, may also be reported as part of the location information when errors are reported. | |
| getStringData | back to summary |
|---|---|
| public String getStringData() Implements org. Doc from org. String data to parse. If provided, this will always be treated as a
sequence of 16-bit units (UTF-16 encoded characters). It is not a
requirement to have an XML declaration when using
| |
| getSystemId | back to summary |
|---|---|
| public String getSystemId() Implements org. Doc from org. The system identifier, a URI reference [IETF RFC 2396], for this
input source. The system identifier is optional if there is a byte
stream, a character stream, or string data. It is still useful to
provide one, since the application will use it to resolve any
relative URIs and can include it in error messages and warnings. (The
LSParser will only attempt to fetch the resource identified by the
URI reference if there is no other input available in the input
source.)
| |
| setBaseURI | back to summary |
|---|---|
| public void setBaseURI(String baseURI) Implements org. Doc from org. The base URI to be used (see section 5.1.4 in [IETF RFC 2396]) for
resolving a relative | |
| setByteStream | back to summary |
|---|---|
| public void setByteStream(InputStream byteStream) Implements org. Doc from org. An attribute of a language and binding dependent type that represents
a stream of bytes.
| |
| setCertifiedText | back to summary |
|---|---|
| public void setCertifiedText(boolean certifiedText) Implements org. Doc from org. If set to true, assume that the input is certified (see section 2.13 in [XML 1.1]) when parsing [XML 1.1]. | |
| setCharacterStream | back to summary |
|---|---|
| public void setCharacterStream(Reader characterStream) Implements org. Doc from org. An attribute of a language and binding dependent type that represents a stream of 16-bit units. The application must encode the stream using UTF-16 (defined in [Unicode] and in [ISO/IEC 10646]). It is not a requirement to have an XML declaration when using character streams. If an XML declaration is present, the value of the encoding attribute will be ignored. | |
| setEncoding | back to summary |
|---|---|
| public void setEncoding(String encoding) Implements org. Doc from org. The character encoding, if known. The encoding must be a string
acceptable for an XML encoding declaration ([XML 1.0] section
4.3.3 "Character Encoding in Entities").
| |
| setPublicId | back to summary |
|---|---|
| public void setPublicId(String publicId) Implements org. Doc from org. The public identifier for this input source. This may be mapped to an input source using an implementation dependent mechanism (such as catalogues or other mappings). The public identifier, if specified, may also be reported as part of the location information when errors are reported. | |
| setStringData | back to summary |
|---|---|
| public void setStringData(String stringData) Implements org. Doc from org. String data to parse. If provided, this will always be treated as a
sequence of 16-bit units (UTF-16 encoded characters). It is not a
requirement to have an XML declaration when using
| |
| setSystemId | back to summary |
|---|---|
| public void setSystemId(String systemId) Implements org. Doc from org. The system identifier, a URI reference [IETF RFC 2396], for this
input source. The system identifier is optional if there is a byte
stream, a character stream, or string data. It is still useful to
provide one, since the application will use it to resolve any
relative URIs and can include it in error messages and warnings. (The
LSParser will only attempt to fetch the resource identified by the
URI reference if there is no other input available in the input
source.)
| |