|
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.PolicyBuilderImpl
public class PolicyBuilderImpl
PolicyBuilderImpl is an implementation of the PolicyBuilder interface, provides methods to create Policy and PolicyReferenceObjects from DOM elements, but also from an input stream etc.
| Constructor Summary | |
|---|---|
PolicyBuilderImpl()
|
|
| Method Summary | |
|---|---|
AssertionBuilderRegistry |
getAssertionBuilderRegistry()
|
Bus |
getBus()
|
org.apache.neethi.Policy |
getPolicy(Element element)
Creates a Policy object from a DOM element. |
org.apache.neethi.Policy |
getPolicy(InputStream is)
Creates a Policy object from an InputStream. |
org.apache.neethi.PolicyReference |
getPolicyReference(Element element)
Creates a PolicyReference object from a DOM element. |
org.apache.neethi.PolicyReference |
getPolicyReference(InputStream is)
Creates a PolicyReference object from an InputStream. |
org.apache.neethi.PolicyRegistry |
getPolicyRegistry()
Return the PolicyRegistry associated with the builder |
Class<?> |
getRegistrationType()
|
void |
setAssertionBuilderRegistry(AssertionBuilderRegistry abr)
|
void |
setBus(Bus theBus)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PolicyBuilderImpl()
| Method Detail |
|---|
public Class<?> getRegistrationType()
getRegistrationType in interface BusExtensionpublic void setBus(Bus theBus)
public Bus getBus()
public void setAssertionBuilderRegistry(AssertionBuilderRegistry abr)
public AssertionBuilderRegistry getAssertionBuilderRegistry()
public org.apache.neethi.PolicyReference getPolicyReference(InputStream is)
throws IOException,
ParserConfigurationException,
SAXException
inputStream - the input stream
IOException
ParserConfigurationException
SAXExceptionpublic org.apache.neethi.PolicyReference getPolicyReference(Element element)
getPolicyReference in interface PolicyBuilderelement - the element
public org.apache.neethi.Policy getPolicy(InputStream is)
throws IOException,
ParserConfigurationException,
SAXException
getPolicy in interface PolicyBuilderinputStream - the input stream
IOException
ParserConfigurationException
SAXExceptionpublic org.apache.neethi.Policy getPolicy(Element element)
getPolicy in interface PolicyBuilderelement - the element
public org.apache.neethi.PolicyRegistry getPolicyRegistry()
PolicyBuilder
getPolicyRegistry in interface PolicyBuilder
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||