DTD, AttributeList
| Modifier and Type | Field and Description |
|---|---|
| public AttributeList | atts
The attributes |
| public ContentModel | content
The content model |
| private static final Map | |
| public Object | data
A field to store user data. |
| public BitSet | exclusions
The set of elements that must not occur inside the element |
| public BitSet | inclusions
The set of elements that can occur inside the element |
| public int | index
The element index |
| private static int | |
| public String | name
The name of the element |
| public boolean | oEnd
|
| public boolean | oStart
|
| public int | type
The element type |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public AttributeList | Returns: theAttributeList for the given namethe attribute name name)Get an attribute by name. |
| public AttributeList | Returns: theAttributeList for the given valuethe string representation of value value)Get an attribute by value. |
| public AttributeList | |
| public ContentModel | |
| public int | |
| pack-priv static int | |
| public String | |
| public int | |
| public boolean | |
| public static int | |
| public boolean | |
| public boolean | Returns: true if the start tag can be omittedReturn true if the start tag can be omitted. |
| public String | Returns: a string representation for the givenElement instanceOverrides java. Convert to a string. |
| atts | back to summary |
|---|---|
| public AttributeList atts The attributes | |
| content | back to summary |
|---|---|
| public ContentModel content The content model | |
| contentTypes | back to summary |
|---|---|
| private static final Map<String, Integer> contentTypes | |
| data | back to summary |
|---|---|
| public Object data A field to store user data. Mostly used to store style sheets. | |
| exclusions | back to summary |
|---|---|
| public BitSet exclusions The set of elements that must not occur inside the element | |
| inclusions | back to summary |
|---|---|
| public BitSet inclusions The set of elements that can occur inside the element | |
| index | back to summary |
|---|---|
| public int index The element index | |
| maxIndex | back to summary |
|---|---|
| private static int maxIndex | |
| name | back to summary |
|---|---|
| public String name The name of the element | |
| oEnd | back to summary |
|---|---|
| public boolean oEnd
| |
| oStart | back to summary |
|---|---|
| public boolean oStart
| |
| type | back to summary |
|---|---|
| public int type The element type | |
| Element | back to summary |
|---|---|
| pack-priv Element() | |
| Element | back to summary |
|---|---|
| pack-priv Element(String name, int index) Create a new element.
| |
| getAttribute | back to summary |
|---|---|
| public AttributeList getAttribute(String name) Get an attribute by name.
| |
| getAttributeByValue | back to summary |
|---|---|
| public AttributeList getAttributeByValue(String value) Get an attribute by value.
| |
| getAttributes | back to summary |
|---|---|
| public AttributeList getAttributes() Get the attributes.
| |
| getContent | back to summary |
|---|---|
| public ContentModel getContent() Get content model
| |
| getIndex | back to summary |
|---|---|
| public int getIndex() Get index.
| |
| getMaxIndex | back to summary |
|---|---|
| pack-priv static int getMaxIndex() | |
| getName | back to summary |
|---|---|
| public String getName() Get the name of the element.
| |
| getType | back to summary |
|---|---|
| public int getType() Get type.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Check if empty
| |
| name2type | back to summary |
|---|---|
| public static int name2type(String nm) Converts
| |
| omitEnd | back to summary |
|---|---|
| public boolean omitEnd() Return true if the end tag can be omitted.
| |
| omitStart | back to summary |
|---|---|
| public boolean omitStart() Return true if the start tag can be omitted.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Convert to a string.
| |