Package com.day.cq.rewriter.htmlparser
Interface AttributeList
- 
@Deprecated public interface AttributeListDeprecated.This is replaced by the Apache Sling Html parsing.Contains the list of attributes inside an HTML tag. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intattributeCount()Deprecated.Return the count of attributesjava.util.Iterator<java.lang.String>attributeNames()Deprecated.Return the list of attribute namesbooleancontainsAttribute(java.lang.String name)Deprecated.Return a flag indicating whether a specified attribute existschargetQuoteChar(java.lang.String name)Deprecated.Return an attribute's quote character, given its name or0if the attribute cannot be found.java.lang.StringgetQuotedValue(java.lang.String name)Deprecated.Return an attribute's value, already surrounded with the quotes originally in place.java.lang.StringgetValue(java.lang.String name)Deprecated.Return an attribute's value, given its name ornullif the attribute cannot be found.booleanisModified()Deprecated.Return a flag indicating whether this object was modified.voidremoveValue(java.lang.String name)Deprecated.Remove an attribute's value.voidsetValue(java.lang.String name, java.lang.String value)Deprecated.Set an attribute's value. 
 - 
 
- 
- 
Method Detail
- 
attributeCount
int attributeCount()
Deprecated.Return the count of attributes- Returns:
 - count of attributes
 
 
- 
attributeNames
java.util.Iterator<java.lang.String> attributeNames()
Deprecated.Return the list of attribute names- Returns:
 Iteratoriterating over the attribute names
 
- 
containsAttribute
boolean containsAttribute(java.lang.String name)
Deprecated.Return a flag indicating whether a specified attribute exists- Parameters:
 name- name of the attribute- Returns:
 trueif the specified attribute exists,falseotherwise
 
- 
getValue
java.lang.String getValue(java.lang.String name)
Deprecated.Return an attribute's value, given its name ornullif the attribute cannot be found.- Parameters:
 name- attribute name- Returns:
 - an attribute's value
 
 
- 
getQuoteChar
char getQuoteChar(java.lang.String name)
Deprecated.Return an attribute's quote character, given its name or0if the attribute cannot be found.- Parameters:
 name- attribute name- Returns:
 - an attribute's quote character
 
 
- 
getQuotedValue
java.lang.String getQuotedValue(java.lang.String name)
Deprecated.Return an attribute's value, already surrounded with the quotes originally in place. Returnsnullif the attribute cannot be found- Parameters:
 name- attribute name- Returns:
 - an attribute's value
 
 
- 
setValue
void setValue(java.lang.String name, java.lang.String value)Deprecated.Set an attribute's value. If the value isnull, this is semantically different to aremoveValue(String).- Parameters:
 name- attribute namevalue- attribute value
 
- 
removeValue
void removeValue(java.lang.String name)
Deprecated.Remove an attribute's value.- Parameters:
 name- attribute name
 
- 
isModified
boolean isModified()
Deprecated.Return a flag indicating whether this object was modified.- Returns:
 trueif the object was modifiedfalseotherwise
 
 - 
 
 -