|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ElementRestrictions
An interface to represent the element restrictions of a schema.
Method Summary | |
---|---|
List |
getAttributes()
Return the list of attributes for this element. |
List |
getChildren()
Returns the list of children |
int |
getMaxOccurs()
return the max occurrances for this element. |
int |
getMinOccurs()
Get the min occurances of this element. |
String |
getName()
Gets the name of this element |
boolean |
isComplex()
Returns if this element is complex. |
boolean |
isSequence()
Is this element a sequence? |
boolean |
isSimpleAndNoAttributes()
Return if this element is simple with no attributes |
void |
setAttributes(List attributes)
Sets the list of attributes for this element. |
void |
setChildren(List children)
Sets the list of children to the given list. |
void |
setComplex(boolean isComplex)
sets if this element is complex. |
void |
setMaxOccurs(int min)
Sets the max occurances for this element. |
void |
setMinOccurs(int min)
Sets the min occurrances for this element. |
void |
setName(String name)
sets the name of this element |
void |
setSequence(boolean isSequence)
Sets if this element is a sequence. |
Method Detail |
---|
boolean isSimpleAndNoAttributes()
List getChildren()
void setChildren(List children)
children
- the list of children.boolean isSequence()
void setSequence(boolean isSequence)
isSequence
- the value to set.boolean isComplex()
void setComplex(boolean isComplex)
isComplex
- the value to set.String getName()
void setName(String name)
name
- the value to set.List getAttributes()
void setAttributes(List attributes)
attributes
- the value to set.int getMinOccurs()
void setMinOccurs(int min)
min
- the min occurrances for this element.int getMaxOccurs()
void setMaxOccurs(int min)
min
- the value to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |