Package org.opensaml.soap.wspolicy.impl
Class PolicyReferenceImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.soap.wspolicy.impl.AbstractWSPolicyObject
-
- org.opensaml.soap.wspolicy.impl.PolicyReferenceImpl
-
- All Implemented Interfaces:
AttributeExtensibleXMLObject,XMLObject,PolicyReference,WSPolicyObject
public class PolicyReferenceImpl extends AbstractWSPolicyObject implements PolicyReference
PolicyReferenceImpl.
-
-
Field Summary
Fields Modifier and Type Field Description private StringdigestDigest attribute value.private StringdigestAlgorithmDigestAlgorithm attribute value.private AttributeMapunknownAttributesxs:anyAttribute attributes.private StringuriURI attribute value.-
Fields inherited from interface org.opensaml.soap.wspolicy.PolicyReference
DIGEST_ALGORITHM_ATTRIB_NAME, DIGEST_ALGORITHM_SHA1EXC, DIGEST_ATTRIB_NAME, ELEMENT_LOCAL_NAME, ELEMENT_NAME, URI_ATTRIB_NAME
-
-
Constructor Summary
Constructors Constructor Description PolicyReferenceImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDigest()Returns the wsp:PolicyReference/@Digest attribute URI value.StringgetDigestAlgorithm()Returns the wsp:PolicyReference/@DigestAlgoritm attribute Base64 binary value.List<XMLObject>getOrderedChildren()Gets an unmodifiable list of child elements in the order that they will appear in the DOM.AttributeMapgetUnknownAttributes()Gets a mutable map of the attributes.StringgetURI()Returns the wsp:PolicyReference/@URI attribute value.voidsetDigest(String newDigest)Sets the wsp:PolicyReference/@Digest attribute URI value.voidsetDigestAlgorithm(String newDigestAlgorithm)Sets the wsp:PolicyReference/@DigestAlgoritm attribute Base64 binary value.voidsetURI(String newURI)Sets the wsp:PolicyReference/@URI attribute value.-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, 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, setSchemaType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
-
-
-
Field Detail
-
uri
private String uri
URI attribute value.
-
digest
private String digest
Digest attribute value.
-
digestAlgorithm
private String digestAlgorithm
DigestAlgorithm attribute value.
-
unknownAttributes
private AttributeMap unknownAttributes
xs:anyAttribute attributes.
-
-
Method Detail
-
getDigest
public String getDigest()
Returns the wsp:PolicyReference/@Digest attribute URI value.- Specified by:
getDigestin interfacePolicyReference- Returns:
- the Digest attribute URI value.
-
getDigestAlgorithm
public String getDigestAlgorithm()
Returns the wsp:PolicyReference/@DigestAlgoritm attribute Base64 binary value.- Specified by:
getDigestAlgorithmin interfacePolicyReference- Returns:
- the DigestAlgoritm attribute Base64 binary value.
-
getURI
public String getURI()
Returns the wsp:PolicyReference/@URI attribute value.- Specified by:
getURIin interfacePolicyReference- Returns:
- the URI attribute value.
-
setDigest
public void setDigest(String newDigest)
Sets the wsp:PolicyReference/@Digest attribute URI value.- Specified by:
setDigestin interfacePolicyReference- Parameters:
newDigest- the Digest attribute URI value to set.
-
setDigestAlgorithm
public void setDigestAlgorithm(String newDigestAlgorithm)
Sets the wsp:PolicyReference/@DigestAlgoritm attribute Base64 binary value.- Specified by:
setDigestAlgorithmin interfacePolicyReference- Parameters:
newDigestAlgorithm- the DigestAlgoritm attribute Base64 binary value to set.
-
setURI
public void setURI(String newURI)
Sets the wsp:PolicyReference/@URI attribute value.- Specified by:
setURIin interfacePolicyReference- Parameters:
newURI- the URI attribute value to set.
-
getUnknownAttributes
public AttributeMap 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
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-
-