Class JaxbAssertionBuilder<T>
- java.lang.Object
-
- org.apache.cxf.ws.policy.builder.jaxb.JaxbAssertionBuilder<T>
-
-
Constructor Summary
Constructors Constructor Description JaxbAssertionBuilder(Class<T> type, QName qn)Constructs a JAXBAssertionBuilder from the specified class and schema type.JaxbAssertionBuilder(String className, QName qn)Constructs a JAXBAssertionBuilder from the specified class name and schema type.JaxbAssertionBuilder(QName qn)Constructs a JAXBAssertionBuilder from the QName of the schema type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.neethi.Assertionbuild(Element element, org.apache.neethi.AssertionBuilderFactory factory)protected JaxbAssertion<T>buildAssertion()protected TgetData(Element element)QName[]getKnownElements()protected booleangetOptionality(Element element)protected javax.xml.bind.UnmarshallergetUnmarshaller()
-
-
-
Constructor Detail
-
JaxbAssertionBuilder
public JaxbAssertionBuilder(QName qn) throws javax.xml.bind.JAXBException, ClassNotFoundException
Constructs a JAXBAssertionBuilder from the QName of the schema type- Parameters:
qn- the schema type- Throws:
javax.xml.bind.JAXBExceptionClassNotFoundException
-
JaxbAssertionBuilder
public JaxbAssertionBuilder(String className, QName qn) throws javax.xml.bind.JAXBException, ClassNotFoundException
Constructs a JAXBAssertionBuilder from the specified class name and schema type.- Parameters:
className- the name of the class to which the schema type is mappedqn- the schema type- Throws:
javax.xml.bind.JAXBExceptionClassNotFoundException
-
JaxbAssertionBuilder
public JaxbAssertionBuilder(Class<T> type, QName qn) throws javax.xml.bind.JAXBException
Constructs a JAXBAssertionBuilder from the specified class and schema type.- Parameters:
type- the class to which the schema type is mappedqn- the schema type- Throws:
javax.xml.bind.JAXBExceptionClassNotFoundException
-
-
Method Detail
-
getUnmarshaller
protected javax.xml.bind.Unmarshaller getUnmarshaller()
-
build
public org.apache.neethi.Assertion build(Element element, org.apache.neethi.AssertionBuilderFactory factory)
- Specified by:
buildin interfaceorg.apache.neethi.builders.AssertionBuilder<T>
-
getKnownElements
public QName[] getKnownElements()
- Specified by:
getKnownElementsin interfaceorg.apache.neethi.builders.AssertionBuilder<T>
-
buildAssertion
protected JaxbAssertion<T> buildAssertion()
-
getOptionality
protected boolean getOptionality(Element element)
-
-