|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xalan.serialize.SerializerFactory.SerializerWrapper
private static class SerializerFactory.SerializerWrapper
This class just exists to wrap a new Serializer in the new package by an old one.
| Field Summary | |
|---|---|
private DOMSerializer |
m_old_DOMSerializer
Deprecated. |
private Serializer |
m_serializer
Deprecated. |
| Constructor Summary | |
|---|---|
SerializerFactory.SerializerWrapper(Serializer ser)
Deprecated. |
|
| Method Summary | |
|---|---|
org.xml.sax.ContentHandler |
asContentHandler()
Deprecated. Return a ContentHandler interface into this serializer. |
DOMSerializer |
asDOMSerializer()
Deprecated. Return a DOMSerializer interface into this serializer. |
java.util.Properties |
getOutputFormat()
Deprecated. Returns the output format for this serializer. |
java.io.OutputStream |
getOutputStream()
Deprecated. Get the output stream where the events will be serialized to. |
java.io.Writer |
getWriter()
Deprecated. Get the character stream where the events will be serialized to. |
boolean |
reset()
Deprecated. Resets the serializer. |
void |
setOutputFormat(java.util.Properties format)
Deprecated. Specifies an output format for this serializer. |
void |
setOutputStream(java.io.OutputStream output)
Deprecated. Specifies an output stream to which the document should be serialized. |
void |
setWriter(java.io.Writer writer)
Deprecated. Specifies a writer to which the document should be serialized. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final Serializer m_serializer
private DOMSerializer m_old_DOMSerializer
| Constructor Detail |
|---|
SerializerFactory.SerializerWrapper(Serializer ser)
| Method Detail |
|---|
public void setOutputStream(java.io.OutputStream output)
Serializer
The encoding specified in the output Properties is used, or
if no encoding was specified, the default for the selected
output method.
setOutputStream in interface Serializeroutput - The output streampublic java.io.OutputStream getOutputStream()
Serializer
getOutputStream in interface Serializerpublic void setWriter(java.io.Writer writer)
Serializer
The encoding specified for the output Properties must be
identical to the output format used with the writer.
setWriter in interface Serializerwriter - The output writer streampublic java.io.Writer getWriter()
Serializer
getWriter in interface Serializerpublic void setOutputFormat(java.util.Properties format)
Serializer
setOutputFormat in interface Serializerformat - The output format to usepublic java.util.Properties getOutputFormat()
Serializer
getOutputFormat in interface Serializer
public org.xml.sax.ContentHandler asContentHandler()
throws java.io.IOException
SerializerContentHandler interface into this serializer.
If the serializer does not support the ContentHandler
interface, it should return null.
asContentHandler in interface SerializerContentHandler interface into this serializer,
or null if the serializer is not SAX 2 capable
java.io.IOException - An I/O exception occured
public DOMSerializer asDOMSerializer()
throws java.io.IOException
SerializerDOMSerializer interface into this serializer.
If the serializer does not support the DOMSerializer
interface, it should return null.
asDOMSerializer in interface Serializerjava.io.IOException - An I/O exception occuredSerializer.asDOMSerializer()public boolean reset()
Serializer
reset in interface SerializerSerializer.reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||