Package org.opensaml.soap.wspolicy.impl
Class PolicyImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.soap.wspolicy.impl.AbstractWSPolicyObject
org.opensaml.soap.wspolicy.impl.OperatorContentTypeImpl
org.opensaml.soap.wspolicy.impl.PolicyImpl
- All Implemented Interfaces:
AttributeExtensibleXMLObject,XMLObject,OperatorContentType,Policy,WSPolicyObject,IdBearing
PolicyImpl.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe wsu:Id attribute value.private StringThe Name attribute value.private final AttributeMapWildcard attributes.Fields inherited from interface org.opensaml.soap.wssecurity.IdBearing
WSU_ID_ATTR_LOCAL_NAME, WSU_ID_ATTR_NAMEFields inherited from interface org.opensaml.soap.wspolicy.OperatorContentType
TYPE_LOCAL_NAME, TYPE_NAMEFields inherited from interface org.opensaml.soap.wspolicy.Policy
ELEMENT_LOCAL_NAME, ELEMENT_NAME, NAME_ATTRIB_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPolicyImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Methods inherited from class org.opensaml.soap.wspolicy.impl.OperatorContentTypeImpl
getAlls, getExactlyOnes, getOrderedChildren, getPolicies, getPolicyReferences, getXMLObjects, getXMLObjectsMethods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.soap.wspolicy.OperatorContentType
getAlls, getExactlyOnes, getPolicies, getPolicyReferences, getXMLObjects, getXMLObjectsMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
id
The wsu:Id attribute value. -
name
The Name attribute value. -
unknownAttributes
Wildcard attributes.
-
-
Constructor Details
-
PolicyImpl
protected PolicyImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix) Constructor.- Parameters:
namespaceURI- The namespace of the elementelementLocalName- The local name of the elementnamespacePrefix- The namespace prefix of the element
-
-
Method Details
-
getName
Returns the wsp:Policy/@Name attribute value. -
setName
Sets the wsp:Policy/@Name attribute value. -
getWSUId
Returns the@wsu:Idattribute value. -
setWSUId
Sets the@wsu:Idattribute value. -
getUnknownAttributes
Gets a mutable map of the attributes. The map key is the namespace qualified name of the attribute, the map value is the value of the attribute.- Specified by:
getUnknownAttributesin interfaceAttributeExtensibleXMLObject- Returns:
- a map of the attributes
-