Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.xml.dom.ls
Class DomLSOutput  view DomLSOutput download DomLSOutput.java

java.lang.Object
  extended bygnu.xml.dom.ls.DomLSOutput
All Implemented Interfaces:
org.w3c.dom.ls.LSOutput

public class DomLSOutput
extends java.lang.Object
implements org.w3c.dom.ls.LSOutput

Specification of XML output to produce.


Field Summary
private  java.lang.String encoding
           
private  java.io.OutputStream out
           
private  java.lang.String systemId
           
 
Constructor Summary
DomLSOutput()
           
 
Method Summary
 java.io.OutputStream getByteStream()
          An attribute of a language and binding dependent type that represents a writable stream of bytes.
 java.io.Writer getCharacterStream()
          An attribute of a language and binding dependent type that represents a writable stream to which 16-bit units can be output.
 java.lang.String getEncoding()
          The character encoding to use for the output.
 java.lang.String getSystemId()
          The system identifier, a URI reference [IETF RFC 2396], for this output destination.
 void setByteStream(java.io.OutputStream out)
          An attribute of a language and binding dependent type that represents a writable stream of bytes.
 void setCharacterStream(java.io.Writer characterStream)
          An attribute of a language and binding dependent type that represents a writable stream to which 16-bit units can be output.
 void setEncoding(java.lang.String encoding)
          The character encoding to use for the output.
 void setSystemId(java.lang.String systemId)
          The system identifier, a URI reference [IETF RFC 2396], for this output destination.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

private java.io.OutputStream out

systemId

private java.lang.String systemId

encoding

private java.lang.String encoding
Constructor Detail

DomLSOutput

public DomLSOutput()
Method Detail

getCharacterStream

public java.io.Writer getCharacterStream()
Description copied from interface: org.w3c.dom.ls.LSOutput
An attribute of a language and binding dependent type that represents a writable stream to which 16-bit units can be output.

Specified by:
getCharacterStream in interface org.w3c.dom.ls.LSOutput

setCharacterStream

public void setCharacterStream(java.io.Writer characterStream)
Description copied from interface: org.w3c.dom.ls.LSOutput
An attribute of a language and binding dependent type that represents a writable stream to which 16-bit units can be output.

Specified by:
setCharacterStream in interface org.w3c.dom.ls.LSOutput

getByteStream

public java.io.OutputStream getByteStream()
Description copied from interface: org.w3c.dom.ls.LSOutput
An attribute of a language and binding dependent type that represents a writable stream of bytes.

Specified by:
getByteStream in interface org.w3c.dom.ls.LSOutput

setByteStream

public void setByteStream(java.io.OutputStream out)
Description copied from interface: org.w3c.dom.ls.LSOutput
An attribute of a language and binding dependent type that represents a writable stream of bytes.

Specified by:
setByteStream in interface org.w3c.dom.ls.LSOutput

getSystemId

public java.lang.String getSystemId()
Description copied from interface: org.w3c.dom.ls.LSOutput
The system identifier, a URI reference [IETF RFC 2396], for this output destination.
If the system ID is a relative URI reference (see section 5 in [IETF RFC 2396]), the behavior is implementation dependent.

Specified by:
getSystemId in interface org.w3c.dom.ls.LSOutput

setSystemId

public void setSystemId(java.lang.String systemId)
Description copied from interface: org.w3c.dom.ls.LSOutput
The system identifier, a URI reference [IETF RFC 2396], for this output destination.
If the system ID is a relative URI reference (see section 5 in [IETF RFC 2396]), the behavior is implementation dependent.

Specified by:
setSystemId in interface org.w3c.dom.ls.LSOutput

getEncoding

public java.lang.String getEncoding()
Description copied from interface: org.w3c.dom.ls.LSOutput
The character encoding to use for the output. The encoding must be a string acceptable for an XML encoding declaration ([XML 1.0] section 4.3.3 "Character Encoding in Entities"), it is recommended that character encodings registered (as charsets) with the Internet Assigned Numbers Authority [IANA-CHARSETS] should be referred to using their registered names.

Specified by:
getEncoding in interface org.w3c.dom.ls.LSOutput

setEncoding

public void setEncoding(java.lang.String encoding)
Description copied from interface: org.w3c.dom.ls.LSOutput
The character encoding to use for the output. The encoding must be a string acceptable for an XML encoding declaration ([XML 1.0] section 4.3.3 "Character Encoding in Entities"), it is recommended that character encodings registered (as charsets) with the Internet Assigned Numbers Authority [IANA-CHARSETS] should be referred to using their registered names.

Specified by:
setEncoding in interface org.w3c.dom.ls.LSOutput