org.apache.axis2.datasource.jaxb
Class JAXBCustomBuilder

java.lang.Object
  extended by org.apache.axis2.datasource.jaxb.JAXBCustomBuilder
All Implemented Interfaces:
org.apache.axiom.om.impl.builder.CustomBuilder

public class JAXBCustomBuilder
extends java.lang.Object
implements org.apache.axiom.om.impl.builder.CustomBuilder

JAXBCustomBuilder creates an OMSourcedElement backed by a JAXBDataSource for the specified namespace and localPart.


Constructor Summary
JAXBCustomBuilder(JAXBDSContext context)
          Create a JAXBCustomBuilder
 
Method Summary
 org.apache.axiom.om.OMElement create(java.lang.String namespace, java.lang.String localPart, org.apache.axiom.om.OMContainer parent, javax.xml.stream.XMLStreamReader reader, org.apache.axiom.om.OMFactory factory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBCustomBuilder

public JAXBCustomBuilder(JAXBDSContext context)
Create a JAXBCustomBuilder

Parameters:
context - JAXBDSContext
Method Detail

create

public org.apache.axiom.om.OMElement create(java.lang.String namespace,
                                            java.lang.String localPart,
                                            org.apache.axiom.om.OMContainer parent,
                                            javax.xml.stream.XMLStreamReader reader,
                                            org.apache.axiom.om.OMFactory factory)
                                     throws org.apache.axiom.om.OMException
Specified by:
create in interface org.apache.axiom.om.impl.builder.CustomBuilder
Throws:
org.apache.axiom.om.OMException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.