org.opensaml.ws.wspolicy.impl
Class PolicyReferenceImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.ws.wspolicy.impl.AbstractWSPolicyObject
              extended by org.opensaml.ws.wspolicy.impl.PolicyReferenceImpl
All Implemented Interfaces:
PolicyReference, WSPolicyObject, org.opensaml.xml.AttributeExtensibleXMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject

public class PolicyReferenceImpl
extends AbstractWSPolicyObject
implements PolicyReference

PolicyReferenceImpl.


Field Summary
 
Fields inherited from interface org.opensaml.ws.wspolicy.PolicyReference
DIGEST_ALGORITHM_ATTRIB_NAME, DIGEST_ALGORITHM_SHA1EXC, DIGEST_ATTRIB_NAME, ELEMENT_LOCAL_NAME, ELEMENT_NAME, URI_ATTRIB_NAME
 
Constructor Summary
PolicyReferenceImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 String getDigest()
          Returns the wsp:PolicyReference/@Digest attribute URI value.
 String getDigestAlgorithm()
          Returns the wsp:PolicyReference/@DigestAlgoritm attribute Base64 binary value.
 List<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 org.opensaml.xml.util.AttributeMap getUnknownAttributes()
          
 String getURI()
          Returns the wsp:PolicyReference/@URI attribute value.
 void setDigest(String newDigest)
          Sets the wsp:PolicyReference/@Digest attribute URI value.
 void setDigestAlgorithm(String newDigestAlgorithm)
          Sets the wsp:PolicyReference/@DigestAlgoritm attribute Base64 binary value.
 void setURI(String newURI)
          Sets the wsp:PolicyReference/@URI attribute value.
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, 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.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

PolicyReferenceImpl

public PolicyReferenceImpl(String namespaceURI,
                           String elementLocalName,
                           String namespacePrefix)
Constructor.

Parameters:
namespaceURI - The namespace of the element
elementLocalName - The local name of the element
namespacePrefix - The namespace prefix of the element
Method Detail

getDigest

public String getDigest()
Returns the wsp:PolicyReference/@Digest attribute URI value.

Specified by:
getDigest in interface PolicyReference
Returns:
the Digest attribute URI value.

getDigestAlgorithm

public String getDigestAlgorithm()
Returns the wsp:PolicyReference/@DigestAlgoritm attribute Base64 binary value.

Specified by:
getDigestAlgorithm in interface PolicyReference
Returns:
the DigestAlgoritm attribute Base64 binary value.

getURI

public String getURI()
Returns the wsp:PolicyReference/@URI attribute value.

Specified by:
getURI in interface PolicyReference
Returns:
the URI attribute value.

setDigest

public void setDigest(String newDigest)
Sets the wsp:PolicyReference/@Digest attribute URI value.

Specified by:
setDigest in interface PolicyReference
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:
setDigestAlgorithm in interface PolicyReference
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:
setURI in interface PolicyReference
Parameters:
newURI - the URI attribute value to set.

getUnknownAttributes

public org.opensaml.xml.util.AttributeMap getUnknownAttributes()

Specified by:
getUnknownAttributes in interface org.opensaml.xml.AttributeExtensibleXMLObject

getOrderedChildren

public List<org.opensaml.xml.XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject


Copyright © 2006-2013 Internet2. All Rights Reserved.