java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
se.swedenconnect.opensaml.saml2.metadata.scope.impl.ScopeImpl
All Implemented Interfaces:
org.opensaml.core.xml.schema.XSString, org.opensaml.core.xml.XMLObject, Scope

public class ScopeImpl extends org.opensaml.core.xml.AbstractXMLObject implements Scope
Implementation of the Scope element.
Author:
Martin Lindström (martin@idsec.se)
  • Field Summary

    Fields inherited from interface se.swedenconnect.opensaml.saml2.metadata.scope.Scope

    DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, REGEXP_ATTRIB_NAME

    Fields inherited from interface org.opensaml.core.xml.schema.XSString

    TYPE_LOCAL_NAME, TYPE_NAME
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    ScopeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.opensaml.core.xml.XMLObject>
    Gets the regexp attribute value.
    org.opensaml.core.xml.schema.XSBooleanValue
    Gets the regexp attribute value.
    void
    setRegexp(Boolean newRegexp)
    Sets the regexp attribute value.
    void
    setRegexp(org.opensaml.core.xml.schema.XSBooleanValue newRegexp)
    Set the regexp attribute value.
    void
    setValue(String newScopeValue)

    Methods 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, 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, ensureDOM, 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
  • Constructor Details

    • ScopeImpl

      protected ScopeImpl(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 Details

    • getRegexp

      public Boolean getRegexp()
      Gets the regexp attribute value.
      Specified by:
      getRegexp in interface Scope
      Returns:
      the regexp attribute value
    • setRegexp

      public void setRegexp(Boolean newRegexp)
      Sets the regexp attribute value.
      Specified by:
      setRegexp in interface Scope
      Parameters:
      newRegexp - the new regexp attribute value
    • getRegexpXSBoolean

      public org.opensaml.core.xml.schema.XSBooleanValue getRegexpXSBoolean()
      Gets the regexp attribute value.
      Specified by:
      getRegexpXSBoolean in interface Scope
      Returns:
      the regexp attribute value
    • setRegexp

      public void setRegexp(org.opensaml.core.xml.schema.XSBooleanValue newRegexp)
      Set the regexp attribute value.
      Specified by:
      setRegexp in interface Scope
      Parameters:
      newRegexp - the new regexp attribute value
    • getValue

      public String getValue()
      Specified by:
      getValue in interface org.opensaml.core.xml.schema.XSString
    • setValue

      public void setValue(String newScopeValue)
      Specified by:
      setValue in interface org.opensaml.core.xml.schema.XSString
    • getOrderedChildren

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