|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsigmlgen.HSDocWrapping
public class HSDocWrapping
This class provides wrappers
for HML and SiGML document
output streams; a wrapper provides an efficient mechanism for
inserting the appropriate HML/SiGML document prefix and suffix
into the stream at the appropriate stages in the output process.
(This class was originally defined in the h2s
package.)
Constructor Summary | |
---|---|
HSDocWrapping()
|
Method Summary | |
---|---|
static XmlStreamDocWrapping |
getHMLWrap(java.io.OutputStream hos,
java.lang.String henc,
java.lang.String hdtd,
java.lang.String htag)
Returns an HML document wrapper for the given output stream, and using the given encoding, HML DTD, and HML document element tag strings. |
static XmlStreamDocWrapping |
getNullWrap()
Returns a null XML document output stream wrapper, that is, one which wraps the document element with empty head and tail. |
static XmlStreamDocWrapping |
getSiGMLWrap(java.io.OutputStream sos,
java.lang.String senc,
java.lang.String sdtd,
java.lang.String stag)
Returns a SiGML document wrapper for the given output stream, and using the given encoding, SiGML DTD, and SiGML document element tag strings. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HSDocWrapping()
Method Detail |
---|
public static XmlStreamDocWrapping getNullWrap()
public static XmlStreamDocWrapping getHMLWrap(java.io.OutputStream hos, java.lang.String henc, java.lang.String hdtd, java.lang.String htag)
public static XmlStreamDocWrapping getSiGMLWrap(java.io.OutputStream sos, java.lang.String senc, java.lang.String sdtd, java.lang.String stag)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |