Package org.opensaml.xacml.policy.impl
Class SubjectMatchTypeImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xacml.impl.AbstractXACMLObject
-
- org.opensaml.xacml.policy.impl.SubjectMatchTypeImpl
-
- All Implemented Interfaces:
XMLObject,SubjectMatchType,XACMLObject
public class SubjectMatchTypeImpl extends AbstractXACMLObject implements SubjectMatchType
Concrete implementation ofSubjectMatchType.
-
-
Field Summary
Fields Modifier and Type Field Description private IndexedXMLObjectChildrenList<XACMLObject>attributeChoiceMatch's choice of attribute elements.private AttributeValueTypeattributeValueMatch's attribute value.private StringmatchIdGets 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
Constructors Constructor Description SubjectMatchTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeSelectorTypegetAttributeSelector()AttributeValueTypegetAttributeValue()StringgetMatchId()List<XMLObject>getOrderedChildren()AttributeDesignatorTypegetSubjectAttributeDesignator()voidsetAttributeSelector(AttributeSelectorType selector)voidsetAttributeValue(AttributeValueType value)voidsetMatchId(String id)voidsetSubjectAttributeDesignator(AttributeDesignatorType attribute)-
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 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, 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
-
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 inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Detail
-
getAttributeSelector
public AttributeSelectorType getAttributeSelector()
- Specified by:
getAttributeSelectorin interfaceSubjectMatchType
-
getAttributeValue
public AttributeValueType getAttributeValue()
- Specified by:
getAttributeValuein interfaceSubjectMatchType
-
getSubjectAttributeDesignator
public AttributeDesignatorType getSubjectAttributeDesignator()
- Specified by:
getSubjectAttributeDesignatorin interfaceSubjectMatchType
-
getMatchId
public String getMatchId()
- Specified by:
getMatchIdin interfaceSubjectMatchType
-
setAttributeSelector
public void setAttributeSelector(AttributeSelectorType selector)
- Specified by:
setAttributeSelectorin interfaceSubjectMatchType
-
setAttributeValue
public void setAttributeValue(AttributeValueType value)
- Specified by:
setAttributeValuein interfaceSubjectMatchType
-
setSubjectAttributeDesignator
public void setSubjectAttributeDesignator(AttributeDesignatorType attribute)
- Specified by:
setSubjectAttributeDesignatorin interfaceSubjectMatchType
-
setMatchId
public void setMatchId(String id)
- Specified by:
setMatchIdin interfaceSubjectMatchType
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
-