org.opensaml.xacml.ctx.impl
Class ResourceTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.xacml.ctx.impl.ResourceTypeImpl
All Implemented Interfaces:
ResourceType, XACMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject

public class ResourceTypeImpl
extends org.opensaml.xml.validation.AbstractValidatingXMLObject
implements ResourceType

Concrete implementation of ResourceType.


Field Summary
 
Fields inherited from interface org.opensaml.xacml.ctx.ResourceType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected ResourceTypeImpl(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
          Constructor.
 
Method Summary
 java.util.List<AttributeType> getAttributes()
          Returns the list of attributes in the resource.
 java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 ResourceContentType getResourceContent()
          Gets the content of the resource.
 void setResourceContent(ResourceContentType content)
          Sets the content of the resource.
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, 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.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

ResourceTypeImpl

protected ResourceTypeImpl(java.lang.String namespaceURI,
                           java.lang.String elementLocalName,
                           java.lang.String namespacePrefix)
Constructor.

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getAttributes

public java.util.List<AttributeType> getAttributes()
Returns the list of attributes in the resource.

Specified by:
getAttributes in interface ResourceType
Returns:
the list of attributes in the resource

getOrderedChildren

public java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject

getResourceContent

public ResourceContentType getResourceContent()
Gets the content of the resource.

Specified by:
getResourceContent in interface ResourceType
Returns:
content of the resource

setResourceContent

public void setResourceContent(ResourceContentType content)
Sets the content of the resource.

Specified by:
setResourceContent in interface ResourceType
Parameters:
content - content of the resource


Copyright © 2006-2011 Internet2. All Rights Reserved.