org.opensaml.saml2.core.impl
Class ProxyRestrictionImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.common.impl.AbstractSAMLObject
              extended by org.opensaml.saml2.core.impl.ProxyRestrictionImpl
All Implemented Interfaces:
SAMLObject, Condition, ProxyRestriction, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject

public class ProxyRestrictionImpl
extends AbstractSAMLObject
implements ProxyRestriction

Concrete implementation of ProxyRestriction.


Field Summary
 
Fields inherited from interface org.opensaml.saml2.core.ProxyRestriction
COUNT_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected ProxyRestrictionImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 List<Audience> getAudiences()
          Gets the list of audiences to whom the assertion may be proxied.
 List<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 Integer getProxyCount()
          Gets the number of times the assertion may be proxied.
 void setProxyCount(Integer newProxyCount)
          Sets the number of times the assertion may be proxied.
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject
equals, prepareForAssignment
 
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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
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

ProxyRestrictionImpl

protected ProxyRestrictionImpl(String namespaceURI,
                               String elementLocalName,
                               String namespacePrefix)
Constructor.

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getAudiences

public List<Audience> getAudiences()
Gets the list of audiences to whom the assertion may be proxied.

Specified by:
getAudiences in interface ProxyRestriction
Returns:
the list of audiences to whom the assertion may be proxied

getProxyCount

public Integer getProxyCount()
Gets the number of times the assertion may be proxied.

Specified by:
getProxyCount in interface ProxyRestriction
Returns:
the number of times the assertion may be proxied

setProxyCount

public void setProxyCount(Integer newProxyCount)
Sets the number of times the assertion may be proxied.

Specified by:
setProxyCount in interface ProxyRestriction
Parameters:
newProxyCount - the number of times the assertion may be proxied

getOrderedChildren

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

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


Copyright © 2006-2011 Internet2. All Rights Reserved.