Modifier and Type | Field and Description |
---|---|
protected OutputStream | |
protected Writer | |
protected String | |
protected String |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public OutputStream | getByteStream()
Implements org. Depending on the language binding in use, this attribute may not be available. |
public Writer | getCharacterStream()
Implements org. An attribute of a language and binding dependent type that represents a writable stream of bytes. |
public String | |
public String | getSystemId()
Implements org. The system identifier, a URI reference [IETF RFC 2396], for this output destination. |
public void | setByteStream(OutputStream byteStream)
Implements org. Depending on the language binding in use, this attribute may not be available. |
public void | setCharacterStream(Writer characterStream)
Implements org. An attribute of a language and binding dependent type that represents a writable stream of bytes. |
public void | setEncoding(String encoding)
Implements org. The character encoding, if known. |
public void | setSystemId(String systemId)
Implements org. The system identifier, a URI reference [IETF RFC 2396], for this output destination. |
fByteStream | back to summary |
---|---|
protected OutputStream fByteStream |
fCharStream | back to summary |
---|---|
protected Writer fCharStream |
fEncoding | back to summary |
---|---|
protected String fEncoding |
fSystemId | back to summary |
---|---|
protected String fSystemId |
DOMOutputImpl | back to summary |
---|---|
public DOMOutputImpl() Default Constructor |
getByteStream | back to summary |
---|---|
public OutputStream getByteStream() Implements org. Depending on the language binding in use, this attribute may not be available. An attribute of a language and binding dependent type that represents a writable stream to which 16-bit units can be output. The application must encode the stream using UTF-16 (defined in [Unicode] and Amendment 1 of [ISO/IEC 10646]). |
getCharacterStream | back to summary |
---|---|
public Writer getCharacterStream() Implements org. An attribute of a language and binding dependent type that represents a writable stream of bytes. If the application knows the character encoding of the byte stream, it should set the encoding attribute. Setting the encoding in this way will override any encoding specified in an XML declaration in the data. |
getEncoding | back to summary |
---|---|
public String getEncoding() Implements 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"). This attribute has no effect when the application provides a character stream or string data. For other sources of input, an encoding specified by means of this attribute will override any encoding specified in the XML declaration or the Text declaration, or an encoding obtained from a higher level protocol, such as HTTP [IETF RFC 2616]. |
getSystemId | back to summary |
---|---|
public String getSystemId() Implements org. The system identifier, a URI reference [IETF RFC 2396], for this output destination. If the application knows the character encoding of the object pointed to by the system identifier, it can set the encoding using the encoding attribute. If the system ID is a relative URI reference (see section 5 in [IETF RFC 2396]), the behavior is implementation dependent. |
setByteStream | back to summary |
---|---|
public void setByteStream(OutputStream byteStream) Implements org. Depending on the language binding in use, this attribute may not be available. An attribute of a language and binding dependent type that represents a writable stream to which 16-bit units can be output. The application must encode the stream using UTF-16 (defined in [Unicode] and Amendment 1 of [ISO/IEC 10646]). |
setCharacterStream | back to summary |
---|---|
public void setCharacterStream(Writer characterStream) Implements org. An attribute of a language and binding dependent type that represents a writable stream of bytes. If the application knows the character encoding of the byte stream, it should set the encoding attribute. Setting the encoding in this way will override any encoding specified in an XML declaration in the data. |
setEncoding | back to summary |
---|---|
public void setEncoding(String encoding) Implements 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"). This attribute has no effect when the application provides a character stream or string data. For other sources of input, an encoding specified by means of this attribute will override any encoding specified in the XML declaration or the Text declaration, or an encoding obtained from a higher level protocol, such as HTTP [IETF RFC 2616]. |
setSystemId | back to summary |
---|---|
public void setSystemId(String systemId) Implements org. The system identifier, a URI reference [IETF RFC 2396], for this output destination. If the application knows the character encoding of the object pointed to by the system identifier, it can set the encoding using the encoding attribute. If the system ID is a relative URI reference (see section 5 in [IETF RFC 2396]), the behavior is implementation dependent. |