IComponent
public class FormChoiceAttribute extends AttributeBase
Modifier and Type | Field | Description |
---|---|---|
private int |
m_formType |
'form' attribute type code (
-1 if not set). |
static int |
QUALIFIED_FORM |
|
static StringArray |
s_allowedAttributes |
List of allowed attribute names.
|
static EnumSet |
s_formValues |
|
static int |
UNQUALIFIED_FORM |
SCHEMA_NAMESPACE
Constructor | Description |
---|---|
FormChoiceAttribute(SchemaBase owner) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getForm() |
Get 'form' attribute type code.
|
java.lang.String |
getFormText() |
Get 'form' attribute text.
|
boolean |
isQualified(boolean def) |
Check if qualified.
|
void |
setForm(int type) |
Set 'form' attribute type code.
|
private void |
setFormText(java.lang.String text,
IUnmarshallingContext ictx) |
Set 'form' attribute text.
|
private static FormChoiceAttribute |
unmarshalFactory(IUnmarshallingContext ictx) |
Factory method for use during unmarshalling.
|
getOwner, prevalidate, validate
public static final StringArray s_allowedAttributes
public static final int QUALIFIED_FORM
public static final int UNQUALIFIED_FORM
public static final EnumSet s_formValues
private int m_formType
-1
if not set).public FormChoiceAttribute(SchemaBase owner)
owner
- owning elementprivate static FormChoiceAttribute unmarshalFactory(IUnmarshallingContext ictx)
ictx
- public int getForm()
public void setForm(int type)
type
- public java.lang.String getFormText()
null
if not set)private void setFormText(java.lang.String text, IUnmarshallingContext ictx)
text
- ictx
- public boolean isQualified(boolean def)
def
- default if not overriddentrue
if qualified, false
if not