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
public class ResourceTypeImpl extends AbstractXACMLObject implements ResourceType
Concrete implementation ofResourceType.
-
-
Field Summary
Fields Modifier and Type Field Description private XMLObjectChildrenList<AttributeType>attributesLists of the attributes in the subject.private ResourceContentTyperesourceContentResources content.-
Fields inherited from interface org.opensaml.xacml.ctx.ResourceType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedResourceTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AttributeType>getAttributes()List<XMLObject>getOrderedChildren()ResourceContentTypegetResourceContent()voidsetResourceContent(ResourceContentType content)-
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
-
attributes
private XMLObjectChildrenList<AttributeType> attributes
Lists of the attributes in the subject.
-
resourceContent
private ResourceContentType resourceContent
Resources content.
-
-
Constructor Detail
-
ResourceTypeImpl
protected ResourceTypeImpl(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
-
getAttributes
public List<AttributeType> getAttributes()
- Specified by:
getAttributesin interfaceResourceType
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
getResourceContent
public ResourceContentType getResourceContent()
- Specified by:
getResourceContentin interfaceResourceType
-
setResourceContent
public void setResourceContent(ResourceContentType content)
- Specified by:
setResourceContentin interfaceResourceType
-
-