| 
 | Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.ws.policy.builder.jaxb.JaxbAssertionBuilder<T>
public class JaxbAssertionBuilder<T>
| Constructor Summary | |
|---|---|
| JaxbAssertionBuilder(Class<T> type,
                     QName qn)Constructs a JAXBAssertionBuilder from the specified class and schema type. | |
| JaxbAssertionBuilder(QName qn)Constructs a JAXBAssertionBuilder from the QName of the schema type | |
| JaxbAssertionBuilder(String className,
                     QName qn)Constructs a JAXBAssertionBuilder from the specified class name and schema type. | |
| Method Summary | |
|---|---|
|  PolicyAssertion | build(Element element)Constructs an assertion from an xml element. | 
| protected  JaxbAssertion<T> | buildAssertion() | 
|  PolicyAssertion | buildCompatible(PolicyAssertion a,
                PolicyAssertion b)Returns a new assertion that is compatible with the two specified assertions or null if no compatible assertion can be built. | 
| protected  void | createUnmarhsaller() | 
| protected  T | getData(Element element) | 
|  Collection<QName> | getKnownElements()Returns a collection of QNames describing the xml schema types for which this builder can build assertions. | 
| protected  boolean | getOptionality(Element element) | 
| protected  javax.xml.bind.Unmarshaller | getUnmarshaller() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public JaxbAssertionBuilder(QName qn)
                     throws javax.xml.bind.JAXBException,
                            ClassNotFoundException
qn - the schema type
javax.xml.bind.JAXBException
ClassNotFoundException
public JaxbAssertionBuilder(String className,
                            QName qn)
                     throws javax.xml.bind.JAXBException,
                            ClassNotFoundException
className - the name of the class to which the schema type is mappedqn - the schema type
javax.xml.bind.JAXBException
ClassNotFoundException
public JaxbAssertionBuilder(Class<T> type,
                            QName qn)
                     throws javax.xml.bind.JAXBException
type - the class to which the schema type is mappedqn - the schema type
javax.xml.bind.JAXBException
ClassNotFoundException| Method Detail | 
|---|
protected javax.xml.bind.Unmarshaller getUnmarshaller()
protected void createUnmarhsaller()
                           throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic PolicyAssertion build(Element element)
AssertionBuilder
build in interface AssertionBuilderelement - the element from which to build an assertion
public Collection<QName> getKnownElements()
AssertionBuilder
getKnownElements in interface AssertionBuilder
public PolicyAssertion buildCompatible(PolicyAssertion a,
                                       PolicyAssertion b)
AssertionBuilder
buildCompatible in interface AssertionBuilderprotected JaxbAssertion<T> buildAssertion()
protected boolean getOptionality(Element element)
protected T getData(Element element)
| 
 | Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||