Class AttrValue

  • All Implemented Interfaces:
    java.lang.CharSequence

    public class AttrValue
    extends java.lang.Object
    implements java.lang.CharSequence
    • Constructor Summary

      Constructors 
      Constructor Description
      AttrValue()  
      AttrValue​(java.lang.String value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      char charAt​(int index)  
      java.lang.String getQuoted​(char paren)  
      java.lang.String getValue()  
      boolean isEmpty()  
      int length()  
      java.lang.String quoteIfNeeded()  
      void setValue​(java.lang.String value)  
      boolean shouldBeQuoted()  
      java.lang.CharSequence subSequence​(int start, int end)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.CharSequence

        chars, codePoints
    • Constructor Detail

      • AttrValue

        public AttrValue()
      • AttrValue

        public AttrValue​(java.lang.String value)
    • Method Detail

      • setValue

        public void setValue​(java.lang.String value)
      • getValue

        public java.lang.String getValue()
      • quoteIfNeeded

        public java.lang.String quoteIfNeeded()
      • getQuoted

        public java.lang.String getQuoted​(char paren)
      • shouldBeQuoted

        public boolean shouldBeQuoted()
      • isEmpty

        public boolean isEmpty()
      • length

        public int length()
        Specified by:
        length in interface java.lang.CharSequence
      • charAt

        public char charAt​(int index)
        Specified by:
        charAt in interface java.lang.CharSequence
      • subSequence

        public java.lang.CharSequence subSequence​(int start,
                                                  int end)
        Specified by:
        subSequence in interface java.lang.CharSequence
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface java.lang.CharSequence
        Overrides:
        toString in class java.lang.Object