Class SubjectTypeImpl

All Implemented Interfaces:
XMLObject, SubjectType, XACMLObject

public class SubjectTypeImpl extends AbstractXACMLObject implements SubjectType
Concrete implementation of SubjectType.
  • Field Details

  • Constructor Details

    • 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 Details

    • 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()
      Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
      Specified by:
      getOrderedChildren in interface XMLObject
      Returns:
      ordered list of child elements
    • 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