org.codehaus.activesoap.handler.xmlbeans
Class XMLBeansHelper

java.lang.Object
  extended byorg.codehaus.activesoap.handler.xmlbeans.XMLBeansHelper

public class XMLBeansHelper
extends Object

Version:
$Revision: 1.7 $

Constructor Summary
XMLBeansHelper()
           
 
Method Summary
static RestClient createRestClient(TransportClient transportClient)
           
static SoapClient createSoapClient(TransportClient transportClient)
           
static boolean isElement(org.apache.xmlbeans.XmlObject xmlObject)
          Returns true if the given object is an element type
static RestClient newLocalRestClient(RestService service)
           
static SoapClient newLocalSoapClient(SoapService service)
           
static void save(org.apache.xmlbeans.XmlObject xmlObject, XMLStreamWriter out, boolean repairing)
          Saves the XMLBean to the given StAX output stream until XMLBeans natively supports this in which case this method could be retired.
static void useXMLBeans(RestClient client)
          Configures the given RestClient to use XMLBeans as the default client side marshalling layer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLBeansHelper

public XMLBeansHelper()
Method Detail

createRestClient

public static RestClient createRestClient(TransportClient transportClient)

createSoapClient

public static SoapClient createSoapClient(TransportClient transportClient)

newLocalRestClient

public static RestClient newLocalRestClient(RestService service)

newLocalSoapClient

public static SoapClient newLocalSoapClient(SoapService service)

useXMLBeans

public static void useXMLBeans(RestClient client)
Configures the given RestClient to use XMLBeans as the default client side marshalling layer


save

public static void save(org.apache.xmlbeans.XmlObject xmlObject,
                        XMLStreamWriter out,
                        boolean repairing)
                 throws XMLStreamException
Saves the XMLBean to the given StAX output stream until XMLBeans natively supports this in which case this method could be retired.

Throws:
XMLStreamException

isElement

public static boolean isElement(org.apache.xmlbeans.XmlObject xmlObject)
Returns true if the given object is an element type



Copyright © 2004-2007 LogicBlaze, Inc.. All Rights Reserved.