Class JAXBCustomBuilder

java.lang.Object
org.apache.axis2.datasource.jaxb.JAXBCustomBuilder
All Implemented Interfaces:
org.apache.axiom.om.ds.custombuilder.CustomBuilder, org.apache.axiom.om.ds.custombuilder.CustomBuilder.Selector

public class JAXBCustomBuilder extends Object implements org.apache.axiom.om.ds.custombuilder.CustomBuilder, org.apache.axiom.om.ds.custombuilder.CustomBuilder.Selector
JAXBCustomBuilder creates an OMSourcedElement backed by a JAXBDataSource for the specified namespace and localPart.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.axiom.om.ds.custombuilder.CustomBuilder

    org.apache.axiom.om.ds.custombuilder.CustomBuilder.Selector
  • Field Summary

    Fields inherited from interface org.apache.axiom.om.ds.custombuilder.CustomBuilder.Selector

    PAYLOAD
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a JAXBCustomBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accepts(org.apache.axiom.om.OMContainer parent, int depth, String namespaceURI, String localName)
     
    org.apache.axiom.om.OMDataSource
    create(org.apache.axiom.om.OMElement element)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JAXBCustomBuilder

      public JAXBCustomBuilder(JAXBDSContext context)
      Create a JAXBCustomBuilder
      Parameters:
      context - JAXBDSContext
  • Method Details

    • create

      public org.apache.axiom.om.OMDataSource create(org.apache.axiom.om.OMElement element) throws org.apache.axiom.om.OMException
      Specified by:
      create in interface org.apache.axiom.om.ds.custombuilder.CustomBuilder
      Throws:
      org.apache.axiom.om.OMException
    • accepts

      public boolean accepts(org.apache.axiom.om.OMContainer parent, int depth, String namespaceURI, String localName)
      Specified by:
      accepts in interface org.apache.axiom.om.ds.custombuilder.CustomBuilder.Selector