Oracle Application Server Web Clipping API Reference
10g (9.0.4)

B10912-01

oracle.webclipping.bean
Class WebClippingUtil

java.lang.Object
  |
  +--oracle.webclipping.bean.WebClippingUtil

public class WebClippingUtil
extends java.lang.Object

This utility class provides miscellaneous methods to operate on the different data structures involved with the Web Clipping bean API.


Constructor Summary
WebClippingUtil()
           

 

Method Summary
static org.w3c.dom.Element toXml(WebClippingResponse resp)
          Convert the WebClippingResponse into Element format
static void writeFormatted(WebClippingResponse resp, java.io.Writer writer)
          This method formats the Web Clipping Response and writes to a writer in the default formatting.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

WebClippingUtil

public WebClippingUtil()
Method Detail

toXml

public static org.w3c.dom.Element toXml(WebClippingResponse resp)
Convert the WebClippingResponse into Element format
Parameters:
resp - The instance of the WebClippingResponse to be converted
Returns:
The response in XML Element format

writeFormatted

public static void writeFormatted(WebClippingResponse resp,
                                  java.io.Writer writer)
                           throws java.io.IOException
This method formats the Web Clipping Response and writes to a writer in the default formatting. This provides a "pretty print" mechanism to output the Web Clipping Response for diagnostic testing purposes.
Parameters:
resp - The instance of the WebClippingResponse to be printed
writer - The sink / writer to write to
java.io.IOException

Oracle Application Server Web Clipping API Reference
10g (9.0.4)

B10912-01

Copyright © 1996, 2003, Oracle. All rights reserved.