Class AttributeValueTypeImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.AttributeExtensibleXMLObject, org.opensaml.core.xml.ElementExtensibleXMLObject, org.opensaml.core.xml.XMLObject, org.opensaml.xacml.policy.AttributeValueType, org.opensaml.xacml.policy.ExpressionType, org.opensaml.xacml.XACMLObject
    Direct Known Subclasses:
    AttributeAssignmentTypeImpl

    public class AttributeValueTypeImpl
    extends AbstractXACMLObject
    implements org.opensaml.xacml.policy.AttributeValueType
    Implementation of AttributeValueType.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private String dataType
      Data type.
      private String textContent
      Text content of value element.
      private org.opensaml.core.xml.util.AttributeMap unknownAttributes
      "any" attributes.
      private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.core.xml.XMLObject> unknownElements
      "any" elements.
      • Fields inherited from interface org.opensaml.xacml.policy.AttributeValueType

        DATA_TYPE_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME
      • Fields inherited from interface org.opensaml.xacml.policy.ExpressionType

        DEFAULT_ELEMENT_NAME_XACML20
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getDataType()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      org.opensaml.core.xml.util.AttributeMap getUnknownAttributes()
      List<org.opensaml.core.xml.XMLObject> getUnknownXMLObjects()
      List<org.opensaml.core.xml.XMLObject> getUnknownXMLObjects​(QName typeOrName)
      String getValue()
      void setDataType​(String type)
      void setValue​(String value)
      • 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 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 Detail

      • dataType

        private String dataType
        Data type.
      • textContent

        private String textContent
        Text content of value element.
      • unknownElements

        private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.core.xml.XMLObject> unknownElements
        "any" elements.
      • unknownAttributes

        private org.opensaml.core.xml.util.AttributeMap unknownAttributes
        "any" attributes.
    • Constructor Detail

      • AttributeValueTypeImpl

        protected AttributeValueTypeImpl​(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

      • getDataType

        public String getDataType()
        Specified by:
        getDataType in interface org.opensaml.xacml.policy.AttributeValueType
      • setDataType

        public void setDataType​(String type)
        Specified by:
        setDataType in interface org.opensaml.xacml.policy.AttributeValueType
      • getOrderedChildren

        public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
        Specified by:
        getOrderedChildren in interface org.opensaml.core.xml.XMLObject
      • getUnknownAttributes

        public org.opensaml.core.xml.util.AttributeMap getUnknownAttributes()
        Specified by:
        getUnknownAttributes in interface org.opensaml.core.xml.AttributeExtensibleXMLObject
      • getUnknownXMLObjects

        public List<org.opensaml.core.xml.XMLObject> getUnknownXMLObjects()
        Specified by:
        getUnknownXMLObjects in interface org.opensaml.core.xml.ElementExtensibleXMLObject
      • getUnknownXMLObjects

        public List<org.opensaml.core.xml.XMLObject> getUnknownXMLObjects​(QName typeOrName)
        Specified by:
        getUnknownXMLObjects in interface org.opensaml.core.xml.ElementExtensibleXMLObject
      • getValue

        public String getValue()
        Specified by:
        getValue in interface org.opensaml.xacml.policy.AttributeValueType
      • setValue

        public void setValue​(String value)
        Specified by:
        setValue in interface org.opensaml.xacml.policy.AttributeValueType