Class AttributeSelectorTypeImpl

All Implemented Interfaces:
XMLObject, AttributeSelectorType, ExpressionType, XACMLObject

public class AttributeSelectorTypeImpl extends AbstractXACMLObject implements AttributeSelectorType
Implementation AttributeSelectorType.
  • Field Details

    • dataType

      private String dataType
      Datatype.
    • requestContextPath

      private String requestContextPath
      Issuer.
    • mustBePresentXS

      private XSBooleanValue mustBePresentXS
      Must be present. Default = false.
  • Constructor Details

    • AttributeSelectorTypeImpl

      protected AttributeSelectorTypeImpl(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

    • getDataType

      public String getDataType()
      Gets the data type of the attribute to be selected.
      Specified by:
      getDataType in interface AttributeSelectorType
      Returns:
      data type of the attribute to be selected
    • getMustBePresent

      public Boolean getMustBePresent()
      Gets whether the attribute to be selected must be present.
      Specified by:
      getMustBePresent in interface AttributeSelectorType
      Returns:
      whether the attribute to be selected must be present
    • getMustBePresentXSBoolean

      public XSBooleanValue getMustBePresentXSBoolean()
      Gets whether the attribute to be selected must be present.
      Specified by:
      getMustBePresentXSBoolean in interface AttributeSelectorType
      Returns:
      whether the attribute to be selected must be present
    • getRequestContextPath

      public String getRequestContextPath()
      Gets the request context path of the attribute to be selected.
      Specified by:
      getRequestContextPath in interface AttributeSelectorType
      Returns:
      request context path of the attribute to be selected
    • setDataType

      public void setDataType(String type)
      Sets the data type of the attribute to be selected.
      Specified by:
      setDataType in interface AttributeSelectorType
      Parameters:
      type - data type of the attribute to be selected
    • setMustBePresentXSBoolean

      public void setMustBePresentXSBoolean(XSBooleanValue present)
      Sets whether the attribute to be selected must be present.
      Specified by:
      setMustBePresentXSBoolean in interface AttributeSelectorType
      Parameters:
      present - whether the attribute to be selected must be present
    • setMustBePresent

      public void setMustBePresent(Boolean present)
      Sets whether the attribute to be selected must be present.
      Specified by:
      setMustBePresent in interface AttributeSelectorType
      Parameters:
      present - whether the attribute to be selected must be present
    • setRequestContextPath

      public void setRequestContextPath(String path)
      Sets the request context path of the attribute to be selected.
      Specified by:
      setRequestContextPath in interface AttributeSelectorType
      Parameters:
      path - request context path of the attribute to be selected
    • 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