public class ClassAttributeHandler extends CustomAttribute
class attribute by delegating to
 Element.getClassList().
 For internal use only. May be renamed or removed in a future release.
| Constructor and Description | 
|---|
ClassAttributeHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getAttribute(Element element)
Gets the value that should be returned by
  
Element.getAttribute(String) for this attribute. | 
boolean | 
hasAttribute(Element element)
Checks what  
Element.hasAttribute(String) should return for this
 attribute. | 
void | 
removeAttribute(Element element)
Removes the attribute when  
Element.removeAttribute(String) is
 called for this attribute. | 
void | 
setAttribute(Element element,
            String value)
Sets the value when  
Element.setAttribute(String, String) is
 called for this attribute. | 
get, getNamespublic boolean hasAttribute(Element element)
CustomAttributeElement.hasAttribute(String) should return for this
 attribute.hasAttribute in class CustomAttributeelement - the element to check, not nulltrue if the element has a value for this attribute,
         otherwise falsepublic String getAttribute(Element element)
CustomAttributeElement.getAttribute(String) for this attribute.getAttribute in class CustomAttributeelement - the element to check, not nullpublic void setAttribute(Element element, String value)
CustomAttributeElement.setAttribute(String, String) is
 called for this attribute.setAttribute in class CustomAttributeelement - the element for which to set the value, not nullvalue - the new attribute value, not nullpublic void removeAttribute(Element element)
CustomAttributeElement.removeAttribute(String) is
 called for this attribute.removeAttribute in class CustomAttributeelement - the element for which to remove the attribute, not
            nullCopyright © 2025. All rights reserved.