| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | ASPECIAL
Defines mnemonic and bit-value for the ASPECIAL flag |
| pack-priv static final int | ATTREMPTY
Defines mnemonic and bit-value for the ATTREMPTY flag |
| pack-priv static final int | ATTRURL
Defines mnemonic and bit-value for the ATTRURL flag |
| pack-priv static final int | BLOCK
Defines mnemonic and bit-value for the BLOCK flag |
| pack-priv static final int | BLOCKFORM
Defines mnemonic and bit-value for the BLOCKFORM flag |
| pack-priv static final int | BLOCKFORMFIELDSET
Defines mnemonic and bit-value for the BLOCKFORMFIELDSET flag |
| pack-priv static final int | CDATA
Defines mnemonic and bit-value for the CDATA flag |
| pack-priv static final int | EMPTY
Defines mnemonic and bit-value for the EMPTY flag |
| pack-priv static final int | FLOW
Defines mnemonic and bit-value for the FLOW flag |
| pack-priv static final int | FONTSTYLE
Defines mnemonic and bit-value for the FONTSTYLE flag |
| pack-priv static final int | FORMCTRL
Defines mnemonic and bit-value for the FORMCTRL flag |
| pack-priv static final int | HEAD
Defines mnemonic and bit-value for the HEAD flag |
| pack-priv static final int | HEADMISC
Defines mnemonic and bit-value for the HEADMISC flag |
| pack-priv static final int | INLINE
Defines mnemonic and bit-value for the INLINE flag |
| pack-priv static final int | INLINEA
Defines mnemonic and bit-value for the INLINEA flag |
| pack-priv static final int | INLINELABEL
Defines mnemonic and bit-value for the INLINELABEL flag |
| pack-priv static final int | LIST
Defines mnemonic and bit-value for the LIST flag |
| pack-priv Map | m_attrs
Table of attributes for the element |
| pack-priv int | m_flags
Element's flags, describing the role this element plays during formatting of the document. |
| pack-priv static final int | PCDATA
Defines mnemonic and bit-value for the PCDATA flag |
| pack-priv static final int | PHRASE
Defines mnemonic and bit-value for the PHRASE flag |
| pack-priv static final int | PREFORMATTED
Defines mnemonic and bit-value for the PREFORMATTED flag |
| pack-priv static final int | RAW
Defines mnemonic and bit-value for the RAW flag |
| pack-priv static final int | SPECIAL
Defines mnemonic and bit-value for the SPECIAL flag |
| pack-priv static final int | WHITESPACESENSITIVE
Defines mnemonic and bit-value for the WHITESPACESENSITIVE flag |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | Returns: true if the flags set in the parameter are also set in the element's stored flags.Vector of flags to compare against this element's flags flags)"is (this element described by these flags)". |
| pack-priv boolean | Returns: True if the flag is set in the attribute. Returns false if the attribute is not foundAttribute name name, int Flag to check flags)Find out if a flag is set in a given attribute of this element |
| pack-priv void |
| ASPECIAL | back to summary |
|---|---|
| pack-priv static final int ASPECIAL Defines mnemonic and bit-value for the ASPECIAL flag | |
| ATTREMPTY | back to summary |
|---|---|
| pack-priv static final int ATTREMPTY Defines mnemonic and bit-value for the ATTREMPTY flag | |
| ATTRURL | back to summary |
|---|---|
| pack-priv static final int ATTRURL Defines mnemonic and bit-value for the ATTRURL flag | |
| BLOCK | back to summary |
|---|---|
| pack-priv static final int BLOCK Defines mnemonic and bit-value for the BLOCK flag | |
| BLOCKFORM | back to summary |
|---|---|
| pack-priv static final int BLOCKFORM Defines mnemonic and bit-value for the BLOCKFORM flag | |
| BLOCKFORMFIELDSET | back to summary |
|---|---|
| pack-priv static final int BLOCKFORMFIELDSET Defines mnemonic and bit-value for the BLOCKFORMFIELDSET flag | |
| CDATA | back to summary |
|---|---|
| pack-priv static final int CDATA Defines mnemonic and bit-value for the CDATA flag | |
| EMPTY | back to summary |
|---|---|
| pack-priv static final int EMPTY Defines mnemonic and bit-value for the EMPTY flag | |
| FLOW | back to summary |
|---|---|
| pack-priv static final int FLOW Defines mnemonic and bit-value for the FLOW flag | |
| FONTSTYLE | back to summary |
|---|---|
| pack-priv static final int FONTSTYLE Defines mnemonic and bit-value for the FONTSTYLE flag | |
| FORMCTRL | back to summary |
|---|---|
| pack-priv static final int FORMCTRL Defines mnemonic and bit-value for the FORMCTRL flag | |
| HEAD | back to summary |
|---|---|
| pack-priv static final int HEAD Defines mnemonic and bit-value for the HEAD flag | |
| HEADMISC | back to summary |
|---|---|
| pack-priv static final int HEADMISC Defines mnemonic and bit-value for the HEADMISC flag | |
| INLINE | back to summary |
|---|---|
| pack-priv static final int INLINE Defines mnemonic and bit-value for the INLINE flag | |
| INLINEA | back to summary |
|---|---|
| pack-priv static final int INLINEA Defines mnemonic and bit-value for the INLINEA flag | |
| INLINELABEL | back to summary |
|---|---|
| pack-priv static final int INLINELABEL Defines mnemonic and bit-value for the INLINELABEL flag | |
| LIST | back to summary |
|---|---|
| pack-priv static final int LIST Defines mnemonic and bit-value for the LIST flag | |
| m_attrs | back to summary |
|---|---|
| pack-priv Map<String, Integer> m_attrs Table of attributes for the element | |
| m_flags | back to summary |
|---|---|
| pack-priv int m_flags Element's flags, describing the role this element plays during formatting of the document. This is used as a bitvector; more than one flag may be set at a time, bitwise-ORed together. Mnemonic and bits have been assigned to the flag values. Note Some bits are currently assigned multiple mnemonics; it is the caller's responsibility to disambiguate these if necessary. | |
| PCDATA | back to summary |
|---|---|
| pack-priv static final int PCDATA Defines mnemonic and bit-value for the PCDATA flag | |
| PHRASE | back to summary |
|---|---|
| pack-priv static final int PHRASE Defines mnemonic and bit-value for the PHRASE flag | |
| PREFORMATTED | back to summary |
|---|---|
| pack-priv static final int PREFORMATTED Defines mnemonic and bit-value for the PREFORMATTED flag | |
| RAW | back to summary |
|---|---|
| pack-priv static final int RAW Defines mnemonic and bit-value for the RAW flag | |
| SPECIAL | back to summary |
|---|---|
| pack-priv static final int SPECIAL Defines mnemonic and bit-value for the SPECIAL flag | |
| WHITESPACESENSITIVE | back to summary |
|---|---|
| pack-priv static final int WHITESPACESENSITIVE Defines mnemonic and bit-value for the WHITESPACESENSITIVE flag | |
| ElemDesc | back to summary |
|---|---|
| pack-priv ElemDesc(int flags) Construct an ElementDescription with an initial set of flags.
| |
| is | back to summary |
|---|---|
| pack-priv boolean is(int flags) "is (this element described by these flags)". This might more properly be called areFlagsSet(). It accepts an integer (being used as a bitvector) and checks whether all the corresponding bits are set in our internal flags. Note that this test is performed as a bitwise AND, not an equality test, so a 0 bit in the input means "don't test", not "must be set false".
| |
| isAttrFlagSet | back to summary |
|---|---|
| pack-priv boolean isAttrFlagSet(String name, int flags) Find out if a flag is set in a given attribute of this element | |
| setAttr | back to summary |
|---|---|
| pack-priv void setAttr(String name, int flags) Set a new attribute for this element
| |