|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jibx.binding.model.AttributeBase
org.jibx.binding.model.StructureAttributes
public class StructureAttributes
Model component for structure attribute group in binding definition.
| Field Summary | |
|---|---|
static StringArray |
s_allowedAttributes
Enumeration of allowed attribute names |
| Constructor Summary | |
|---|---|
StructureAttributes()
Constructor. |
|
| Method Summary | |
|---|---|
String |
getLabelName()
Get label name for child component list. |
String |
getUsingName()
Get name for child component list definition. |
boolean |
isAllowRepeats()
Check if repeated child elements are allowed. |
boolean |
isChoice()
Check if child components are a choice. |
boolean |
isFlexible()
Get flexible flag. |
boolean |
isOrdered()
Check if child components are ordered. |
void |
prevalidate(ValidationContext vctx)
Prevalidate attribute information. |
void |
setAllowRepeats(boolean ignore)
Set repeated child elements allowed flag. |
void |
setChoice(boolean choice)
Set child components choice flag. |
void |
setFlexible(boolean flexible)
Set flexible flag. |
void |
setLabelName(String name)
Set label name for child component list. |
void |
setOrdered(boolean ordered)
Set child components ordered flag. |
void |
setUsingName(String name)
Set name for child component list definition. |
void |
validate(ValidationContext vctx)
Validate attribute information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final StringArray s_allowedAttributes
| Constructor Detail |
|---|
public StructureAttributes()
| Method Detail |
|---|
public boolean isFlexible()
public void setFlexible(boolean flexible)
flexible - public boolean isOrdered()
true if ordered, false if notpublic void setOrdered(boolean ordered)
ordered - true if ordered, false if notpublic boolean isChoice()
true if choice, false if notpublic void setChoice(boolean choice)
choice - true if choice, false if notpublic boolean isAllowRepeats()
true if repeats allowed, false if notpublic void setAllowRepeats(boolean ignore)
ignore - true if repeated child elements to be allowed,
false if notpublic String getUsingName()
null if
none)public void setUsingName(String name)
name - text of name defining child components (null if
none)public String getLabelName()
null if none)public void setLabelName(String name)
name - label text for name (null if none)public void prevalidate(ValidationContext vctx)
AttributeBase
prevalidate in class AttributeBasevctx - validation contextpublic void validate(ValidationContext vctx)
AttributeBaseAttributeBase.prevalidate(org.jibx.binding.model.ValidationContext) method will always be
called for every component in the binding definition before this method
is called for any component. This empty base class implementation should
be overridden by each subclass that requires validation handling.
validate in class AttributeBasevctx - validation context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||