org.apache.tuscany.sca.databinding.axiom
Class AxiomHelper

java.lang.Object
  extended by org.apache.tuscany.sca.databinding.axiom.AxiomHelper

public class AxiomHelper
extends java.lang.Object

Helper for AXIOM


Method Summary
static void adjustElementName(TransformationContext context, OMElement element)
           
static void closeImmediately(OMElement om)
          This method will close the builder immediately.
static void completeAndClose(OMElement om)
          See http://issues.apache.org/jira/browse/WSCOMMONS-240
static OMElement createOMElement(OMFactory factory, javax.xml.namespace.QName element)
           
static OMElement createOMElement(OMFactory factory, javax.xml.namespace.QName element, OMDataSource dataSource)
           
static OMNamespace createOMNamespace(OMFactory factory, javax.xml.namespace.QName name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

completeAndClose

public static void completeAndClose(OMElement om)
See http://issues.apache.org/jira/browse/WSCOMMONS-240

Parameters:
om -

closeImmediately

public static void closeImmediately(OMElement om)
This method will close the builder immediately. Any subsequent Axiom objects won't be built or accessible.


adjustElementName

public static void adjustElementName(TransformationContext context,
                                     OMElement element)
Parameters:
context -
element -

createOMElement

public static OMElement createOMElement(OMFactory factory,
                                        javax.xml.namespace.QName element)

createOMElement

public static OMElement createOMElement(OMFactory factory,
                                        javax.xml.namespace.QName element,
                                        OMDataSource dataSource)

createOMNamespace

public static OMNamespace createOMNamespace(OMFactory factory,
                                            javax.xml.namespace.QName name)
Parameters:
factory -
name -
Returns: