Package org.apache.sling.commons.html
Class AttrValue
- java.lang.Object
-
- org.apache.sling.commons.html.AttrValue
-
- All Implemented Interfaces:
java.lang.CharSequence
public class AttrValue extends java.lang.Object implements java.lang.CharSequence
-
-
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()
-
-
-
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 interfacejava.lang.CharSequence
-
charAt
public char charAt(int index)
- Specified by:
charAt
in interfacejava.lang.CharSequence
-
subSequence
public java.lang.CharSequence subSequence(int start, int end)
- Specified by:
subSequence
in interfacejava.lang.CharSequence
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacejava.lang.CharSequence
- Overrides:
toString
in classjava.lang.Object
-
-