|
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(java.lang.Class<T> type,
javax.xml.namespace.QName qn)
Constructs a JAXBAssertionBuilder from the specified class and schema type. |
|
JaxbAssertionBuilder(javax.xml.namespace.QName qn)
Constructs a JAXBAssertionBuilder from the QName of the schema type |
|
JaxbAssertionBuilder(java.lang.String className,
javax.xml.namespace.QName qn)
Constructs a JAXBAssertionBuilder from the specified class name and schema type. |
|
| Method Summary | |
|---|---|
PolicyAssertion |
build(org.w3c.dom.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(org.w3c.dom.Element element)
|
java.util.Collection<javax.xml.namespace.QName> |
getKnownElements()
Returns a collection of QNames describing the xml schema types for which this builder can build assertions. |
protected boolean |
getOptionality(org.w3c.dom.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(javax.xml.namespace.QName qn)
throws javax.xml.bind.JAXBException,
java.lang.ClassNotFoundException
qn - the schema type
javax.xml.bind.JAXBException
java.lang.ClassNotFoundException
public JaxbAssertionBuilder(java.lang.String className,
javax.xml.namespace.QName qn)
throws javax.xml.bind.JAXBException,
java.lang.ClassNotFoundException
className - the name of the class to which the schema type is mappedqn - the schema type
javax.xml.bind.JAXBException
java.lang.ClassNotFoundException
public JaxbAssertionBuilder(java.lang.Class<T> type,
javax.xml.namespace.QName qn)
throws javax.xml.bind.JAXBException
type - the class to which the schema type is mappedqn - the schema type
javax.xml.bind.JAXBException
java.lang.ClassNotFoundException| Method Detail |
|---|
protected javax.xml.bind.Unmarshaller getUnmarshaller()
protected void createUnmarhsaller()
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic PolicyAssertion build(org.w3c.dom.Element element)
AssertionBuilder
build in interface AssertionBuilderelement - the element from which to build an assertion
public java.util.Collection<javax.xml.namespace.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(org.w3c.dom.Element element)
protected T getData(org.w3c.dom.Element element)
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||