| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| pack-priv final int | |
| private DefaultAttrValue. | mUndeclaredEntity
For now, let's only keep track of the first undeclared entity: can be extended if necessary. |
| private String | mValue
Actual expanded textual content of the default attribute value; normalized if appropriate in this mode. |
| pack-priv static final DefaultAttrValue | |
| pack-priv static final DefaultAttrValue |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| public void | |
| public static DefaultAttrValue | |
| public static DefaultAttrValue | |
| public static DefaultAttrValue | |
| public static DefaultAttrValue | |
| public String | |
| public String | Returns: Expanded default value String, if there were no problems (no undeclared entities), or null to indicate there were problems. In latter case, caller is to figure out exact type of the problem and report this appropriately to the application.
|
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | isSpecial()
Method used by the element to figure out if attribute needs "special" checking; basically if it's required, and/or has a default value. |
| public void | |
| public void |
| DEF_DEFAULT | back to summary |
|---|---|
| public static final int DEF_DEFAULT | |
| DEF_FIXED | back to summary |
|---|---|
| public static final int DEF_FIXED | |
| DEF_IMPLIED | back to summary |
|---|---|
| public static final int DEF_IMPLIED | |
| DEF_REQUIRED | back to summary |
|---|---|
| public static final int DEF_REQUIRED | |
| mDefValueType | back to summary |
|---|---|
| pack-priv final int mDefValueType | |
| mUndeclaredEntity | back to summary |
|---|---|
| private DefaultAttrValue. For now, let's only keep track of the first undeclared entity: can be extended if necessary. | |
| mValue | back to summary |
|---|---|
| private String mValue Actual expanded textual content of the default attribute value;
normalized if appropriate in this mode.
Note that all entities have been expanded: if a GE/PE was undefined,
and no fatal errors were reported (non-validating mode), the
references were just silently removed, and matching entries added
to | |
| sImplied | back to summary |
|---|---|
| pack-priv static final DefaultAttrValue sImplied | |
| sRequired | back to summary |
|---|---|
| pack-priv static final DefaultAttrValue sRequired | |
| DefaultAttrValue | back to summary |
|---|---|
| private DefaultAttrValue(int defValueType) | |
| addUndeclaredEntity | back to summary |
|---|---|
| private void addUndeclaredEntity(String name, Location loc, boolean isPe) | |
| addUndeclaredGE | back to summary |
|---|---|
| public void addUndeclaredGE(String name, Location loc) | |
| addUndeclaredPE | back to summary |
|---|---|
| public void addUndeclaredPE(String name, Location loc) | |
| constructFixed | back to summary |
|---|---|
| public static DefaultAttrValue constructFixed() | |
| constructImplied | back to summary |
|---|---|
| public static DefaultAttrValue constructImplied() | |
| constructOptional | back to summary |
|---|---|
| public static DefaultAttrValue constructOptional() | |
| constructRequired | back to summary |
|---|---|
| public static DefaultAttrValue constructRequired() | |
| getValue | back to summary |
|---|---|
| public String getValue() | |
| getValueIfOk | back to summary |
|---|---|
public String getValueIfOk()
| |
| hasDefaultValue | back to summary |
|---|---|
| public boolean hasDefaultValue() | |
| hasUndeclaredEntities | back to summary |
|---|---|
| public boolean hasUndeclaredEntities() | |
| isFixed | back to summary |
|---|---|
| public boolean isFixed() | |
| isRequired | back to summary |
|---|---|
| public boolean isRequired() | |
| isSpecial | back to summary |
|---|---|
| public boolean isSpecial() Method used by the element to figure out if attribute needs "special" checking; basically if it's required, and/or has a default value. In both cases missing the attribute has specific consequences, either exception or addition of a default value. | |
| reportUndeclared | back to summary |
|---|---|
| public void reportUndeclared(ValidationContext ctxt, XMLValidator dtd) throws XMLStreamException | |
| setValue | back to summary |
|---|---|
| public void setValue(String v) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final boolean | |
| pack-priv final Location | |
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| mIsPe | back to summary |
|---|---|
| pack-priv final boolean mIsPe | |
| mLocation | back to summary |
|---|---|
| pack-priv final Location mLocation | |
| mName | back to summary |
|---|---|
| pack-priv final String mName | |
| UndeclaredEntity | back to summary |
|---|---|
| pack-priv UndeclaredEntity(String name, Location loc, boolean isPe) | |
| reportUndeclared | back to summary |
|---|---|
| public void reportUndeclared(ValidationContext ctxt, XMLValidator dtd) throws XMLStreamException | |