Package org.opensaml.xacml.policy.impl
Class ResourceMatchTypeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xacml.impl.AbstractXACMLObject
org.opensaml.xacml.policy.impl.ResourceMatchTypeImpl
- All Implemented Interfaces:
XMLObject,ResourceMatchType,XACMLObject
Concrete implementation of
ResourceMatchType.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IndexedXMLObjectChildrenList<XACMLObject>Match's choice of attribute elements.private AttributeValueTypeMatch's attribute value.private StringGets the ID of this match.Fields inherited from interface org.opensaml.xacml.policy.ResourceMatchType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, MATCH_ID_ATTRIB_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME -
Constructor Summary
ConstructorsConstructorDescriptionResourceMatchTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the attribute selector for this match.Gets the attribute value for this match.Gets the ID of this match.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the resource attribute designator for this match.voidsetAttributeSelector(AttributeSelectorType selector) Sets the attribute selector for this match.voidSets the attribute value for this match.voidsetMatchId(String id) Sets the ID of this match.voidSets the resource attribute designator for this match.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, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Field Details
-
attributeValue
Match's attribute value. -
attributeChoice
Match's choice of attribute elements. -
matchId
Gets the ID of this match.
-
-
Constructor Details
-
ResourceMatchTypeImpl
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 Details
-
getAttributeSelector
Gets the attribute selector for this match.- Specified by:
getAttributeSelectorin interfaceResourceMatchType- Returns:
- attribute selector for this match
-
getAttributeValue
Gets the attribute value for this match.- Specified by:
getAttributeValuein interfaceResourceMatchType- Returns:
- attribute value for this match
-
getResourceAttributeDesignator
Gets the resource attribute designator for this match.- Specified by:
getResourceAttributeDesignatorin interfaceResourceMatchType- Returns:
- resource attribute designator for this match
-
getMatchId
Gets the ID of this match.- Specified by:
getMatchIdin interfaceResourceMatchType- Returns:
- ID of this match
-
setAttributeSelector
Sets the attribute selector for this match.- Specified by:
setAttributeSelectorin interfaceResourceMatchType- Parameters:
selector- attribute selector for this match
-
setAttributeValue
Sets the attribute value for this match.- Specified by:
setAttributeValuein interfaceResourceMatchType- Parameters:
value- attribute value for this match
-
setResourceAttributeDesignator
Sets the resource attribute designator for this match.- Specified by:
setResourceAttributeDesignatorin interfaceResourceMatchType- Parameters:
attribute- resource attribute designator for this match
-
setMatchId
Sets the ID of this match.- Specified by:
setMatchIdin interfaceResourceMatchType- Parameters:
id- ID of this match
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-