|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xalan.serialize.ElemDesc
This class is in support of SerializerToHTML, and acts as a sort of element representative for HTML elements.
Field Summary | |
(package private) static int |
ASPECIAL
Bit position if this element type is ???. |
(package private) static int |
ATTREMPTY
Bit position if this attribute type is an empty type. |
(package private) static int |
ATTRURL
Bit position if this attribute type is a URL. |
(package private) static int |
BLOCK
Bit position if this element type is a block. |
(package private) static int |
BLOCKFORM
Bit position if this element type is a block form. |
(package private) static int |
BLOCKFORMFIELDSET
Bit position if this element type is a block form field set (?? |
(package private) static int |
CDATA
Bit position if this element type is CDATA. |
(package private) static int |
EMPTY
Bit position if this element type is empty. |
(package private) static int |
FLOW
Bit position if this element type is a flow. |
(package private) static int |
FONTSTYLE
Bit position if this element type is a font style. |
(package private) static int |
FORMCTRL
Bit position if this element type is a form control. |
(package private) static int |
HEAD
Bit position if this element type is a head element (i.e. |
(package private) static int |
HEADELEM
Bit position if this element type is a header element (i.e. |
(package private) static int |
HEADMISC
Bit position if this element type is an odd header element. |
(package private) static int |
INLINE
Bit position if this element type should be inlined. |
(package private) static int |
INLINEA
Bit position if this element type is INLINEA (?? |
(package private) static int |
INLINELABEL
Bit position if this element type is an inline label. |
(package private) static int |
LIST
Bit position if this element type is a list. |
(package private) StringToIntTable |
m_attrs
Table of attribute names to integers, which contain bit flags telling about the attributes. |
(package private) int |
m_flags
Bit flags to tell about this element type. |
(package private) static int |
PCDATA
Bit position if this element type is PCDATA. |
(package private) static int |
PHRASE
Bit position if this element type is a phrase. |
(package private) static int |
PREFORMATTED
Bit position if this element type is a preformatted type. |
(package private) static int |
RAW
Bit position if this element type is should be raw characters. |
(package private) static int |
SPECIAL
Bit position if this element type is ???. |
(package private) static int |
WHITESPACESENSITIVE
Bit position if this element type is whitespace sensitive. |
Constructor Summary | |
(package private) |
ElemDesc(int flags)
Construct an ElemDesc from a set of bit flags. |
Method Summary | |
(package private) boolean |
is(int flags)
Tell if this element type has the basic bit properties that are passed as an argument. |
(package private) boolean |
isAttrFlagSet(String name,
int flags)
Tell if any of the bits of interest are set for a named attribute type. |
(package private) void |
setAttr(String name,
int flags)
Set an attribute name and it's bit properties. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
int m_flags
StringToIntTable m_attrs
static final int EMPTY
static final int FLOW
static final int BLOCK
static final int BLOCKFORM
static final int BLOCKFORMFIELDSET
static final int CDATA
static final int PCDATA
static final int RAW
static final int INLINE
static final int INLINEA
static final int INLINELABEL
static final int FONTSTYLE
static final int PHRASE
static final int FORMCTRL
static final int SPECIAL
static final int ASPECIAL
static final int HEADMISC
static final int HEAD
static final int LIST
static final int PREFORMATTED
static final int WHITESPACESENSITIVE
static final int HEADELEM
static final int ATTRURL
static final int ATTREMPTY
Constructor Detail |
ElemDesc(int flags)
flags
- Bit flags that describe the basic properties of this element type.Method Detail |
boolean is(int flags)
flags
- Bit flags that describe the basic properties of interest.
void setAttr(String name, int flags)
name
- non-null name of attribute, in upper case.flags
- flag bits.boolean isAttrFlagSet(String name, int flags)
name
- non-null reference to attribute name, in any case.flags
- flag mask.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |