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
public class ResourceMatchTypeImpl extends AbstractXACMLObject implements ResourceMatchType
Concrete implementation ofResourceMatchType.
-
-
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.ResourceMatchType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, MATCH_ID_ATTRIB_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME
-
-
Constructor Summary
Constructors Constructor Description ResourceMatchTypeImpl(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()AttributeDesignatorTypegetResourceAttributeDesignator()voidsetAttributeSelector(AttributeSelectorType selector)voidsetAttributeValue(AttributeValueType value)voidsetMatchId(String id)voidsetResourceAttributeDesignator(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
-
ResourceMatchTypeImpl
public ResourceMatchTypeImpl(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 interfaceResourceMatchType
-
getAttributeValue
public AttributeValueType getAttributeValue()
- Specified by:
getAttributeValuein interfaceResourceMatchType
-
getResourceAttributeDesignator
public AttributeDesignatorType getResourceAttributeDesignator()
- Specified by:
getResourceAttributeDesignatorin interfaceResourceMatchType
-
getMatchId
public String getMatchId()
- Specified by:
getMatchIdin interfaceResourceMatchType
-
setAttributeSelector
public void setAttributeSelector(AttributeSelectorType selector)
- Specified by:
setAttributeSelectorin interfaceResourceMatchType
-
setAttributeValue
public void setAttributeValue(AttributeValueType value)
- Specified by:
setAttributeValuein interfaceResourceMatchType
-
setResourceAttributeDesignator
public void setResourceAttributeDesignator(AttributeDesignatorType attribute)
- Specified by:
setResourceAttributeDesignatorin interfaceResourceMatchType
-
setMatchId
public void setMatchId(String id)
- Specified by:
setMatchIdin interfaceResourceMatchType
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
-