public class DOMOutputImpl
extends java.lang.Object
implements org.w3c.dom.ls.LSOutput
Modifier and Type | Field and Description |
---|---|
protected java.io.OutputStream |
fByteStream |
protected java.io.Writer |
fCharStream |
protected java.lang.String |
fEncoding |
protected java.lang.String |
fSystemId |
Constructor and Description |
---|
DOMOutputImpl()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
java.io.OutputStream |
getByteStream()
Depending on the language binding in use, this attribute may not be
available.
|
java.io.Writer |
getCharacterStream()
An attribute of a language and binding dependent type that represents a
writable stream of bytes.
|
java.lang.String |
getEncoding()
The character encoding, if known.
|
java.lang.String |
getSystemId()
The system identifier, a URI reference [IETF RFC 2396], for this output
destination.
|
void |
setByteStream(java.io.OutputStream byteStream)
Depending on the language binding in use, this attribute may not be
available.
|
void |
setCharacterStream(java.io.Writer characterStream)
An attribute of a language and binding dependent type that represents a
writable stream of bytes.
|
void |
setEncoding(java.lang.String encoding)
The character encoding, if known.
|
void |
setSystemId(java.lang.String systemId)
The system identifier, a URI reference [IETF RFC 2396], for this output
destination.
|
protected java.io.Writer fCharStream
protected java.io.OutputStream fByteStream
protected java.lang.String fSystemId
protected java.lang.String fEncoding
public java.io.Writer getCharacterStream()
getCharacterStream
in interface org.w3c.dom.ls.LSOutput
public void setCharacterStream(java.io.Writer characterStream)
setCharacterStream
in interface org.w3c.dom.ls.LSOutput
public java.io.OutputStream getByteStream()
getByteStream
in interface org.w3c.dom.ls.LSOutput
public void setByteStream(java.io.OutputStream byteStream)
setByteStream
in interface org.w3c.dom.ls.LSOutput
public java.lang.String getSystemId()
getSystemId
in interface org.w3c.dom.ls.LSOutput
public void setSystemId(java.lang.String systemId)
setSystemId
in interface org.w3c.dom.ls.LSOutput
public java.lang.String getEncoding()
getEncoding
in interface org.w3c.dom.ls.LSOutput
public void setEncoding(java.lang.String encoding)
setEncoding
in interface org.w3c.dom.ls.LSOutput
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.