|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.utils.ElemDesc
class 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
Defines mnemonic and bit-value for the ASPECIAL flag |
(package private) static int |
ATTREMPTY
Defines mnemonic and bit-value for the ATTREMPTY flag |
(package private) static int |
ATTRURL
Defines mnemonic and bit-value for the ATTRURL flag |
(package private) static int |
BLOCK
Defines mnemonic and bit-value for the BLOCK flag |
(package private) static int |
BLOCKFORM
Defines mnemonic and bit-value for the BLOCKFORM flag |
(package private) static int |
BLOCKFORMFIELDSET
Defines mnemonic and bit-value for the BLOCKFORMFIELDSET flag |
(package private) static int |
CDATA
Defines mnemonic and bit-value for the CDATA flag |
(package private) static int |
EMPTY
Defines mnemonic and bit-value for the EMPTY flag |
(package private) static int |
FLOW
Defines mnemonic and bit-value for the FLOW flag |
(package private) static int |
FONTSTYLE
Defines mnemonic and bit-value for the FONTSTYLE flag |
(package private) static int |
FORMCTRL
Defines mnemonic and bit-value for the FORMCTRL flag |
(package private) static int |
HEAD
Defines mnemonic and bit-value for the HEAD flag |
(package private) static int |
HEADMISC
Defines mnemonic and bit-value for the HEADMISC flag |
(package private) static int |
INLINE
Defines mnemonic and bit-value for the INLINE flag |
(package private) static int |
INLINEA
Defines mnemonic and bit-value for the INLINEA flag |
(package private) static int |
INLINELABEL
Defines mnemonic and bit-value for the INLINELABEL flag |
(package private) static int |
LIST
Defines mnemonic and bit-value for the LIST flag |
(package private) java.util.Hashtable |
m_attrs
Table of attributes for the element |
(package private) int |
m_flags
Element's flags, describing the role this element plays during formatting of the document. |
(package private) static int |
PCDATA
Defines mnemonic and bit-value for the PCDATA flag |
(package private) static int |
PHRASE
Defines mnemonic and bit-value for the PHRASE flag |
(package private) static int |
PREFORMATTED
Defines mnemonic and bit-value for the PREFORMATTED flag |
(package private) static int |
RAW
Defines mnemonic and bit-value for the RAW flag |
(package private) static int |
SPECIAL
Defines mnemonic and bit-value for the SPECIAL flag |
(package private) static int |
WHITESPACESENSITIVE
Defines mnemonic and bit-value for the WHITESPACESENSITIVE flag |
Constructor Summary | |
---|---|
ElemDesc(int flags)
Construct an ElementDescription with an initial set of flags. |
Method Summary | |
---|---|
(package private) boolean |
is(int flags)
"is (this element described by these flags)". |
(package private) boolean |
isAttrFlagSet(java.lang.String name,
int flags)
Find out if a flag is set in a given attribute of this element |
(package private) void |
setAttr(java.lang.String name,
int flags)
Set a new attribute for this element |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.util.Hashtable m_attrs
int m_flags
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 ATTRURL
static final int ATTREMPTY
Constructor Detail |
---|
ElemDesc(int flags)
flags
- Element flagsm_flags
Method Detail |
---|
boolean is(int flags)
flags
- Vector of flags to compare against this element's flags
m_flags
,
isAttrFlagSet
void setAttr(java.lang.String name, int flags)
name
- Attribute nameflags
- Attibute flagsboolean isAttrFlagSet(java.lang.String name, int flags)
name
- Attribute nameflags
- Flag to check
m_flags
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |