Package org.apache.axis2.datasource.jaxb
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 -
Method Summary
-
Constructor Details
-
JAXBCustomBuilder
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:
createin interfaceorg.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:
acceptsin interfaceorg.apache.axiom.om.ds.custombuilder.CustomBuilder.Selector
-