Package org.apache.xml.serializer
Class ElemDesc
java.lang.Object
org.apache.xml.serializer.ElemDesc
This class has a series of flags (bit values) that describe an HTML element
This class is not a public API. It is public because it is used outside of this package.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
isAttrFlagSet
(String name, int flags) Tell if any of the bits of interest are set for a named attribute type.
-
Field Details
-
ATTRURL
public static final int ATTRURLBit position if this attribute type is a URL.- See Also:
-
ATTREMPTY
public static final int ATTREMPTYBit position if this attribute type is an empty type.- See Also:
-
-
Method Details
-
isAttrFlagSet
Tell if any of the bits of interest are set for a named attribute type.- Parameters:
name
- non-null reference to attribute name, in any case.flags
- flag mask.- Returns:
- true if any of the flags are set for the named attribute.
-