org.opensaml.xacml.ctx.impl
Class SubjectTypeImpl

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

public class SubjectTypeImpl
extends AbstractXACMLObject
implements SubjectType

Concrete implementation of SubjectType.


Field Summary
private  XMLObjectChildrenList<AttributeType> attributes
          Lists of the attributes in the subject.
private  String subjectCategory
          Subject category of the Subject.
 
Fields inherited from interface org.opensaml.xacml.ctx.SubjectType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, SUBJECT_CATEGORY_ATTTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected SubjectTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 List<AttributeType> getAttributes()
          Returns the list of attributes in the subject.
 List<XMLObject> getOrderedChildren()
          
 String getSubjectCategory()
          Gets the subjectcategory of the subject.
 void setSubjectCategory(String newSubjectCategory)
          Sets the subjectcategory.
 
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, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, 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.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

subjectCategory

private String subjectCategory
Subject category of the Subject.


attributes

private XMLObjectChildrenList<AttributeType> attributes
Lists of the attributes in the subject.

Constructor Detail

SubjectTypeImpl

protected SubjectTypeImpl(String namespaceURI,
                          String elementLocalName,
                          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

getSubjectCategory

public String getSubjectCategory()
Gets the subjectcategory of the subject.

Specified by:
getSubjectCategory in interface SubjectType
Returns:
The subjectcategory of the subject

setSubjectCategory

public void setSubjectCategory(String newSubjectCategory)
Sets the subjectcategory.

Specified by:
setSubjectCategory in interface SubjectType
Parameters:
newSubjectCategory - Sets the subjectcategory

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject

getAttributes

public List<AttributeType> getAttributes()
Returns the list of attributes in the subject.

Specified by:
getAttributes in interface SubjectType
Returns:
the list of attributes in the subject


Copyright © 1999-2013. All Rights Reserved.