Package org.opensaml.xacml.ctx.impl
Class ResourceTypeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xacml.impl.AbstractXACMLObject
org.opensaml.xacml.ctx.impl.ResourceTypeImpl
- All Implemented Interfaces:
XMLObject
,ResourceType
,XACMLObject
Concrete implementation of
ResourceType
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate XMLObjectChildrenList<AttributeType>
Lists of the attributes in the subject.private ResourceContentType
Resources content.Fields inherited from interface org.opensaml.xacml.ctx.ResourceType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ResourceTypeImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of attributes in the resource.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the content of the resource.void
setResourceContent
(ResourceContentType content) Sets the content of the resource.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 Details
-
attributes
Lists of the attributes in the subject. -
resourceContent
Resources content.
-
-
Constructor Details
-
ResourceTypeImpl
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
-
getAttributes
Returns the list of attributes in the resource.- Specified by:
getAttributes
in interfaceResourceType
- Returns:
- the list of attributes in the resource
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-
getResourceContent
Gets the content of the resource.- Specified by:
getResourceContent
in interfaceResourceType
- Returns:
- content of the resource
-
setResourceContent
Sets the content of the resource.- Specified by:
setResourceContent
in interfaceResourceType
- Parameters:
content
- content of the resource
-