Package org.opensaml.soap.wspolicy.impl
Class PolicyBuilder
java.lang.Object
org.opensaml.core.xml.AbstractXMLObjectBuilder<T>
org.opensaml.soap.wspolicy.impl.AbstractWSPolicyObjectBuilder<Policy>
org.opensaml.soap.wspolicy.impl.PolicyBuilder
- All Implemented Interfaces:
XMLObjectBuilder<Policy>,WSPolicyObjectBuilder<Policy>
Builder for the Policy element.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBuilds a WS-Policy object.buildObject(String namespaceURI, String localName, String namespacePrefix) Creates an XMLObject with a given fully qualified name.Methods inherited from class org.opensaml.core.xml.AbstractXMLObjectBuilder
buildObject, buildObject, buildObject, buildObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObjectBuilder
buildObject, buildObject, buildObject, buildObject
-
Constructor Details
-
PolicyBuilder
public PolicyBuilder()
-
-
Method Details
-
buildObject
Builds a WS-Policy object.- Specified by:
buildObjectin interfaceWSPolicyObjectBuilder<Policy>- Specified by:
buildObjectin classAbstractWSPolicyObjectBuilder<Policy>- Returns:
- the built object
-
buildObject
@Nonnull public Policy buildObject(@Nullable String namespaceURI, @Nonnull String localName, @Nullable String namespacePrefix) Creates an XMLObject with a given fully qualified name.- Specified by:
buildObjectin interfaceXMLObjectBuilder<Policy>- Specified by:
buildObjectin classAbstractXMLObjectBuilder<Policy>- Parameters:
namespaceURI- the URI of the namespace the Element represented by this XMLObject will be inlocalName- the local name of the Element represented by this XMLObjectnamespacePrefix- the namespace prefix of the Element represented by this XMLObject- Returns:
- the constructed XMLObject
-