Class SpinXmlAttribute

    • Constructor Detail

      • SpinXmlAttribute

        public SpinXmlAttribute()
    • Method Detail

      • value

        public abstract java.lang.String value()
        Returns the value of the attribute as String.
        Returns:
        the string value of the attribute
      • value

        public abstract SpinXmlAttribute value​(java.lang.String value)
        Sets the value of the attribute.
        Parameters:
        value - the value to set
        Returns:
        the wrapped xml dom attribute
        Throws:
        SpinXmlNodeException - if the value is null
      • toString

        public abstract java.lang.String toString()
        Returns the wrapped XML attribute value as string representation.
        Specified by:
        toString in class Spin<SpinXmlAttribute>
        Returns:
        the string representation
      • writeToWriter

        public abstract void writeToWriter​(java.io.Writer writer)
        Writes the wrapped XML attribute value to an existing writer.
        Specified by:
        writeToWriter in class Spin<SpinXmlAttribute>
        Parameters:
        writer - the writer to write to