|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CompositeType
This interface defines a JAXFront Composite Type . A Composite Types manages a list of other types which can be either of the types ComplexGroup, SimpleGroup or SimpleType.
Field Summary |
---|
Fields inherited from interface com.jaxfront.core.type.Type |
---|
ComplexGroup, ComplexGroupList, CompositeType, DummyType, EmptyType, GroupType, ListType, NONE, SimpleGroup, SimpleGroupList, SimpleType, SimpleTypeList, VirtualType |
Method Summary | |
---|---|
void |
completeRecursion()
Creates a recursion of a schema element and returns a type that holds the types created during the recursion. |
void |
createChoices()
Lazy creates all choice axis. |
Type |
createChoiceType(java.lang.String name)
Lazy creation of a choice type. |
java.util.List |
getAttributes()
Returns all its attributes. |
java.util.Set |
getChoiceNames()
In case of a choice, this will returns the choice names. |
java.util.List |
getComposites()
|
SimpleType |
getContentType()
Gets a type that has simple content. |
EmptyType |
getEmptyType()
Gets an empty type if this is a an optional choice. |
Type |
getParentEditingTypeForName(java.lang.String choiceName)
Walks back up to the last list type holding the whole structure of this composite type. |
java.lang.String[] |
getRelevantChoiceNames()
Returns an array of names of all direct choic options. |
java.util.List |
getRelevantChoiceTypes()
Gets a list of all relevant choice types already created and without attribute types. |
boolean |
hasAttributes()
Returns true if this composite holds any attributes. |
boolean |
hasEmptyContent(boolean checkSerializeDefaults,
boolean checkDefaultValue)
Returns if any of the composite types has empty content. |
boolean |
hasOnlySimpleTypes()
Returns true if all my children are simple types. |
void |
removeChoices()
Removes the selected choosen type. |
Method Detail |
---|
java.util.List getComposites()
boolean hasEmptyContent(boolean checkSerializeDefaults, boolean checkDefaultValue)
java.util.Set getChoiceNames()
java.lang.String[] getRelevantChoiceNames()
EmptyType getEmptyType()
void removeChoices() throws ListModificationException
ListModificationException
void completeRecursion() throws java.lang.CloneNotSupportedException
recursiveStartElement
- the element with which the recursion begins
java.lang.CloneNotSupportedException
SimpleType getContentType()
Type createChoiceType(java.lang.String name)
name
- of the choice type.java.util.List getAttributes()
Type getParentEditingTypeForName(java.lang.String choiceName)
java.util.List getRelevantChoiceTypes()
boolean hasOnlySimpleTypes()
boolean hasAttributes()
void createChoices()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |