Package org.apache.axis2.datasource.jaxb
Class JAXBCustomBuilder
- java.lang.Object
-
- org.apache.axis2.datasource.jaxb.JAXBCustomBuilder
-
- All Implemented Interfaces:
CustomBuilder
,CustomBuilder.Selector
public class JAXBCustomBuilder extends Object implements 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
CustomBuilder.Selector
-
-
Field Summary
-
Fields inherited from interface org.apache.axiom.om.ds.custombuilder.CustomBuilder.Selector
PAYLOAD
-
-
Constructor Summary
Constructors Constructor Description JAXBCustomBuilder(JAXBDSContext context)
Create a JAXBCustomBuilder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accepts(OMContainer parent, int depth, String namespaceURI, String localName)
OMDataSource
create(OMElement element)
-
-
-
Constructor Detail
-
JAXBCustomBuilder
public JAXBCustomBuilder(JAXBDSContext context)
Create a JAXBCustomBuilder- Parameters:
context
- JAXBDSContext
-
-
Method Detail
-
create
public OMDataSource create(OMElement element) throws OMException
- Specified by:
create
in interfaceCustomBuilder
- Throws:
OMException
-
accepts
public boolean accepts(OMContainer parent, int depth, String namespaceURI, String localName)
- Specified by:
accepts
in interfaceCustomBuilder.Selector
-
-