com.day.cq.compat.migration.impl.cq4
Class TransformDurboOutput

java.lang.Object
  extended by com.day.cq.compat.migration.impl.cq4.TransformDurboOutput
All Implemented Interfaces:
DurboOutput

public class TransformDurboOutput
extends Object
implements DurboOutput

The TransformDurboOutput class implements the DurboOutput interfaces delegating the methods to the Communique 3 com.day.cq.transform.DurboOutput class.


Constructor Summary
TransformDurboOutput(OutputStream out)
           
 
Method Summary
 void close()
          Closes the output and terminates generation of the current serialization.
 void closeNode()
          Ends the current node.
 void openNode(String name)
          Starts the named node.
 void writeProperty(String propName, InputStream propStream)
          Writes the stream property.
 void writeProperty(String propName, String propValue)
          Writes the string property serializing it using the UTF-8 encoding.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformDurboOutput

public TransformDurboOutput(OutputStream out)
                     throws IOException
Throws:
IOException
Method Detail

openNode

public void openNode(String name)
              throws IOException
Description copied from interface: DurboOutput
Starts the named node.

Specified by:
openNode in interface DurboOutput
Throws:
IOException

writeProperty

public void writeProperty(String propName,
                          String propValue)
                   throws IOException
Description copied from interface: DurboOutput
Writes the string property serializing it using the UTF-8 encoding.

Specified by:
writeProperty in interface DurboOutput
Throws:
IOException

writeProperty

public void writeProperty(String propName,
                          InputStream propStream)
                   throws IOException
Description copied from interface: DurboOutput
Writes the stream property. The complete stream is actually written.

Specified by:
writeProperty in interface DurboOutput
Throws:
IOException

closeNode

public void closeNode()
               throws IOException
Description copied from interface: DurboOutput
Ends the current node.

Specified by:
closeNode in interface DurboOutput
Throws:
IOException

close

public void close()
           throws IOException
Description copied from interface: DurboOutput
Closes the output and terminates generation of the current serialization.

Specified by:
close in interface DurboOutput
Throws:
IOException


Copyright © 2008 Day Management AG. All Rights Reserved.