org.opensaml.xacml.policy.impl
Class SubjectMatchTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.xacml.impl.AbstractXACMLObject
              extended by org.opensaml.xacml.policy.impl.SubjectMatchTypeImpl
All Implemented Interfaces:
SubjectMatchType, XACMLObject, ValidatingXMLObject, XMLObject

public class SubjectMatchTypeImpl
extends AbstractXACMLObject
implements SubjectMatchType

Concrete implementation of SubjectMatchType.


Field Summary
private  IndexedXMLObjectChildrenList<XACMLObject> attributeChoice
          Match's choice of attribute elements.
private  AttributeValueType attributeValue
          Match's attribute value.
private  String matchId
          Gets the ID of this match.
 
Fields inherited from interface org.opensaml.xacml.policy.SubjectMatchType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, MATCH_ID_ATTRIB_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME
 
Constructor Summary
SubjectMatchTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 AttributeSelectorType getAttributeSelector()
          Gets the attribute selector for this match.
 AttributeValueType getAttributeValue()
          Gets the attribute value for this match.
 String getMatchId()
          Gets the ID of this match.
 List<XMLObject> getOrderedChildren()
          
 AttributeDesignatorType getSubjectAttributeDesignator()
          Gets the subject attribute designator for this match.
 void setAttributeSelector(AttributeSelectorType selector)
          Sets the attribute selector for this match.
 void setAttributeValue(AttributeValueType value)
          Sets the attribute value for this match.
 void setMatchId(String id)
          Sets the ID of this match.
 void setSubjectAttributeDesignator(AttributeDesignatorType attribute)
          Sets the subject attribute designator for this match.
 
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
 

Field Detail

attributeValue

private AttributeValueType attributeValue
Match's attribute value.


attributeChoice

private IndexedXMLObjectChildrenList<XACMLObject> attributeChoice
Match's choice of attribute elements.


matchId

private String matchId
Gets the ID of this match.

Constructor Detail

SubjectMatchTypeImpl

public SubjectMatchTypeImpl(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

getAttributeSelector

public AttributeSelectorType getAttributeSelector()
Gets the attribute selector for this match.

Specified by:
getAttributeSelector in interface SubjectMatchType
Returns:
attribute selector for this match

getAttributeValue

public AttributeValueType getAttributeValue()
Gets the attribute value for this match.

Specified by:
getAttributeValue in interface SubjectMatchType
Returns:
attribute value for this match

getSubjectAttributeDesignator

public AttributeDesignatorType getSubjectAttributeDesignator()
Gets the subject attribute designator for this match.

Specified by:
getSubjectAttributeDesignator in interface SubjectMatchType
Returns:
subject attribute designator for this match

getMatchId

public String getMatchId()
Gets the ID of this match.

Specified by:
getMatchId in interface SubjectMatchType
Returns:
ID of this match

setAttributeSelector

public void setAttributeSelector(AttributeSelectorType selector)
Sets the attribute selector for this match.

Specified by:
setAttributeSelector in interface SubjectMatchType
Parameters:
selector - attribute selector for this match

setAttributeValue

public void setAttributeValue(AttributeValueType value)
Sets the attribute value for this match.

Specified by:
setAttributeValue in interface SubjectMatchType
Parameters:
value - attribute value for this match

setSubjectAttributeDesignator

public void setSubjectAttributeDesignator(AttributeDesignatorType attribute)
Sets the subject attribute designator for this match.

Specified by:
setSubjectAttributeDesignator in interface SubjectMatchType
Parameters:
attribute - subject attribute designator for this match

setMatchId

public void setMatchId(String id)
Sets the ID of this match.

Specified by:
setMatchId in interface SubjectMatchType
Parameters:
id - ID of this match

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.