|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.xsl.result.SerializerImpl
Base implementation for Serializer implementations
Field Summary | |
protected String |
actualEncoding
|
protected SerializerOptions |
options
|
protected OutputStream |
stream
|
protected Writer |
writer
|
Constructor Summary | |
SerializerImpl()
|
Method Summary | |
SerializerOptions |
getOptions()
Get the options currently in effect for this serializer |
OutputStream |
getStream()
Return the stream to which the serializer is writing the output bytes. |
protected void |
initWriter()
Create the Writer object to which to write the serialized characters |
void |
noTextEscaping(boolean noEscape)
Tell Serializer to do no text escaping |
void |
setOptions(SerializerOptions options)
Set the options for this serializer |
void |
setStream(OutputStream stream)
Set the output stream to which the serializer will write the bytes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SerializerOptions options
protected Writer writer
protected OutputStream stream
protected String actualEncoding
Constructor Detail |
public SerializerImpl()
Method Detail |
public SerializerOptions getOptions()
getOptions
in interface Serializer
public void setOptions(SerializerOptions options)
setOptions
in interface Serializer
options
- The options object for this serializerpublic OutputStream getStream()
getStream
in interface Serializer
public void setStream(OutputStream stream)
setStream
in interface Serializer
stream
- The output streampublic void noTextEscaping(boolean noEscape)
noTextEscaping
in interface Serializer
noEscape
- True if no escaping should
be performed, false if escaping should be
performedprotected void initWriter() throws ResultException
ResultException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |