Class ProxyRestrictionImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.XMLObject, org.opensaml.saml.common.SAMLObject, org.opensaml.saml.saml2.core.Condition, org.opensaml.saml.saml2.core.ProxyRestriction

    public class ProxyRestrictionImpl
    extends org.opensaml.core.xml.AbstractXMLObject
    implements org.opensaml.saml.saml2.core.ProxyRestriction
    Concrete implementation of ProxyRestriction.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.core.Audience> audiences
      Audiences of the Restriction.
      private Integer proxyCount
      Count of the Restriction.
      • Fields inherited from interface org.opensaml.saml.saml2.core.ProxyRestriction

        COUNT_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<org.opensaml.saml.saml2.core.Audience> getAudiences()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      Integer getProxyCount()
      void setProxyCount​(Integer newProxyCount)
      • 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 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

      • audiences

        @Nonnull
        private final org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.core.Audience> audiences
        Audiences of the Restriction.
      • proxyCount

        @Nullable
        private Integer proxyCount
        Count of the Restriction.
    • Constructor Detail

      • ProxyRestrictionImpl

        protected ProxyRestrictionImpl​(@Nullable @NotEmpty
                                       String namespaceURI,
                                       @Nonnull @NotEmpty
                                       String elementLocalName,
                                       @Nullable @NotEmpty
                                       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

        @Nullable
        public List<org.opensaml.saml.saml2.core.Audience> getAudiences()
        Specified by:
        getAudiences in interface org.opensaml.saml.saml2.core.ProxyRestriction
      • getProxyCount

        @Nullable
        public Integer getProxyCount()
        Specified by:
        getProxyCount in interface org.opensaml.saml.saml2.core.ProxyRestriction
      • setProxyCount

        public void setProxyCount​(@Nullable
                                  Integer newProxyCount)
        Specified by:
        setProxyCount in interface org.opensaml.saml.saml2.core.ProxyRestriction
      • getOrderedChildren

        public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
        Specified by:
        getOrderedChildren in interface org.opensaml.core.xml.XMLObject