Package org.opensaml.xacml.ctx.impl
Class SubjectTypeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xacml.impl.AbstractXACMLObject
org.opensaml.xacml.ctx.impl.SubjectTypeImpl
- All Implemented Interfaces:
XMLObject
,SubjectType
,XACMLObject
Concrete implementation of
SubjectType
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate XMLObjectChildrenList<AttributeType>
Lists of the attributes in the subject.private String
Subject category of the Subject.Fields inherited from interface org.opensaml.xacml.ctx.SubjectType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, SUBJECT_CATEGORY_ATTTRIB_DEFAULT, SUBJECT_CATEGORY_ATTTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SubjectTypeImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of attributes in the subject.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the subjectcategory of the subject.void
setSubjectCategory
(String newSubjectCategory) Sets the subjectcategory.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
-
subjectCategory
Subject category of the Subject. -
attributes
Lists of the attributes in the subject.
-
-
Constructor Details
-
SubjectTypeImpl
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
-
getSubjectCategory
Gets the subjectcategory of the subject.- Specified by:
getSubjectCategory
in interfaceSubjectType
- Returns:
- The subjectcategory of the subject
-
setSubjectCategory
Sets the subjectcategory.- Specified by:
setSubjectCategory
in interfaceSubjectType
- Parameters:
newSubjectCategory
- Sets the subjectcategory
-
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
-
getAttributes
Returns the list of attributes in the subject.- Specified by:
getAttributes
in interfaceSubjectType
- Returns:
- the list of attributes in the subject
-