edu.internet2.middleware.shibboleth.common.xmlobject.impl
Class ShibbolethMetadataScopeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by edu.internet2.middleware.shibboleth.common.xmlobject.impl.ShibbolethMetadataScopeImpl
All Implemented Interfaces:
ShibbolethMetadataScope, org.opensaml.xml.schema.XSString, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject

public class ShibbolethMetadataScopeImpl
extends org.opensaml.xml.validation.AbstractValidatingXMLObject
implements ShibbolethMetadataScope

Implementation of ShibbolethMetadataScope.


Field Summary
 
Fields inherited from interface edu.internet2.middleware.shibboleth.common.xmlobject.ShibbolethMetadataScope
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, REGEXP_ATTRIB_NAME
 
Fields inherited from interface org.opensaml.xml.schema.XSString
TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected ShibbolethMetadataScopeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 Pattern getMatchPattern()
          Gets the match pattern used to evaluate if a scope matches the scope criteria given by this extension.
 List<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 Boolean getRegexp()
          Get the regexp attribute value.
 org.opensaml.xml.schema.XSBooleanValue getRegexpXSBoolean()
          Get the regexp attribute value.
 String getValue()
          
 void setRegexp(Boolean newRegexp)
          Set the regexp attribute value.
 void setRegexp(org.opensaml.xml.schema.XSBooleanValue newRegexp)
          Set the regexp attribute value.
 void setValue(String newScopeValue)
          
 
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.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

ShibbolethMetadataScopeImpl

protected ShibbolethMetadataScopeImpl(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

getRegexp

public Boolean getRegexp()
Get the regexp attribute value.

Specified by:
getRegexp in interface ShibbolethMetadataScope
Returns:
the regexp attribute value

setRegexp

public void setRegexp(Boolean newRegexp)
Set the regexp attribute value.

Specified by:
setRegexp in interface ShibbolethMetadataScope
Parameters:
newRegexp - the new regexp attribute value

getRegexpXSBoolean

public org.opensaml.xml.schema.XSBooleanValue getRegexpXSBoolean()
Get the regexp attribute value.

Specified by:
getRegexpXSBoolean in interface ShibbolethMetadataScope
Returns:
the regexp attribute value

setRegexp

public void setRegexp(org.opensaml.xml.schema.XSBooleanValue newRegexp)
Set the regexp attribute value.

Specified by:
setRegexp in interface ShibbolethMetadataScope
Parameters:
newRegexp - the new regexp attribute value

getValue

public String getValue()

Specified by:
getValue in interface org.opensaml.xml.schema.XSString

setValue

public void setValue(String newScopeValue)

Specified by:
setValue in interface org.opensaml.xml.schema.XSString

getMatchPattern

public Pattern getMatchPattern()
Gets the match pattern used to evaluate if a scope matches the scope criteria given by this extension. If regular expressions are not used in the scope criteria then this pattern must simply perform a direct match of the string.

Specified by:
getMatchPattern in interface ShibbolethMetadataScope
Returns:
match pattern used to evaluate if a scope matches the scope criteria

getOrderedChildren

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

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


Copyright © 2006-2011 Internet2. All Rights Reserved.