Class AbstractValue

    • Constructor Detail

      • AbstractValue

        public AbstractValue()
    • Method Detail

      • getFloatValue

        public float getFloatValue()
                            throws org.w3c.dom.DOMException
        Specified by:
        getFloatValue in interface Value
        Throws:
        org.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a float value.
      • getStringValue

        public java.lang.String getStringValue()
                                        throws org.w3c.dom.DOMException
        Specified by:
        getStringValue in interface Value
        Throws:
        org.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a string value.
      • getRed

        public Value getRed()
                     throws org.w3c.dom.DOMException
        Implements Value.getRed().
        Specified by:
        getRed in interface Value
        Throws:
        org.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB color value.
      • getGreen

        public Value getGreen()
                       throws org.w3c.dom.DOMException
        Implements Value.getGreen().
        Specified by:
        getGreen in interface Value
        Throws:
        org.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB color value.
      • getBlue

        public Value getBlue()
                      throws org.w3c.dom.DOMException
        Implements Value.getBlue().
        Specified by:
        getBlue in interface Value
        Throws:
        org.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB color value.
      • getLength

        public int getLength()
                      throws org.w3c.dom.DOMException
        Implements Value.getLength().
        Specified by:
        getLength in interface Value
        Throws:
        org.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a list value.
      • item

        public Value item​(int index)
                   throws org.w3c.dom.DOMException
        Implements Value.item(int).
        Specified by:
        item in interface Value
        Returns:
        The style rule at the index position in the list, or null if that is not a valid index.
        Throws:
        org.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a list value.
      • getTop

        public Value getTop()
                     throws org.w3c.dom.DOMException
        Implements Value.getTop().
        Specified by:
        getTop in interface Value
        Throws:
        org.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
      • getRight

        public Value getRight()
                       throws org.w3c.dom.DOMException
        Implements Value.getRight().
        Specified by:
        getRight in interface Value
        Throws:
        org.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
      • getBottom

        public Value getBottom()
                        throws org.w3c.dom.DOMException
        Implements Value.getBottom().
        Specified by:
        getBottom in interface Value
        Throws:
        org.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
      • getLeft

        public Value getLeft()
                      throws org.w3c.dom.DOMException
        Implements Value.getLeft().
        Specified by:
        getLeft in interface Value
        Throws:
        org.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
      • getIdentifier

        public java.lang.String getIdentifier()
                                       throws org.w3c.dom.DOMException
        Specified by:
        getIdentifier in interface Value
        Throws:
        org.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.
      • getListStyle

        public java.lang.String getListStyle()
                                      throws org.w3c.dom.DOMException
        Specified by:
        getListStyle in interface Value
        Throws:
        org.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.
      • getSeparator

        public java.lang.String getSeparator()
                                      throws org.w3c.dom.DOMException
        Specified by:
        getSeparator in interface Value
        Throws:
        org.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.
      • createDOMException

        protected org.w3c.dom.DOMException createDOMException()
        Creates an INVALID_ACCESS_ERR exception.