|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SchemaType
Represent an abstract XML schema type (for complex or simple types).
Field Summary | |
---|---|
static java.lang.String |
NO_NAME
|
Method Summary | |
---|---|
void |
addRecursiveElement(SchemaNode schemaElement)
|
int |
countSubNodes()
Returns the number of subnodes. |
java.lang.String |
getBaseName()
Returns the base name (if type is an extension or restriction) of the inherited type. |
int |
getChoiceMaxOccurs()
Returns the max occurs of a choice element defined in xsd schema. |
int |
getChoiceMinOccurs()
Returns the min occurs of a choice element defined in xsd schema. |
java.lang.String |
getName()
Returns the name of this type. |
java.lang.String |
getNamespacePrefix()
|
java.lang.Object |
getParserXSDNode()
Returns the XML Schema node from an underlying schema parser. |
java.lang.String |
getQName()
Returns the name of this type. |
java.lang.String[] |
getRecursiveElementNames()
Returns the name of the recursive start element if any otherwise return null. |
SchemaNode[] |
getRecursiveElements()
Returns a recursive start element or null. |
SchemaNode |
getSchemaElement()
Returns the holding Schema Element. |
Type |
getType()
Returns the analysed JAXFront Type. |
boolean |
hasBeenAnalysed()
Indicates if this schema type has been analysed yet. |
boolean |
isAbstract()
Indicates if this schema type is abstract. |
boolean |
isChoice()
Returns true if this schema type is a choice. |
boolean |
isEmptyComplexType()
Returns true if this type is an empty complex type. |
boolean |
isGlobal()
Returns true if this type is a global type. |
boolean |
isGroup()
Returns true if this schema type is a group. |
boolean |
isMixedContent()
Returns true if this schema type is a simple text content. |
boolean |
isRecursive()
|
boolean |
isSimple()
Returns true if this schema type is simple. |
void |
release()
Releases all allocated resources for this type. |
void |
setIsSimpleContent(boolean simpleContentFlag)
Marks this schema type as a simple content text. |
void |
setRecursive(boolean isRecursion)
|
void |
setType(Type type)
Sets the analysed JAXFront type. |
Methods inherited from interface com.jaxfront.core.schema.QName |
---|
getNamespace, getRefName |
Field Detail |
---|
static final java.lang.String NO_NAME
Method Detail |
---|
java.lang.String getBaseName()
java.lang.String getQName()
getQName
in interface QName
java.lang.String getName()
getName
in interface QName
java.lang.String getNamespacePrefix()
java.lang.Object getParserXSDNode()
SchemaNode[] getRecursiveElements()
Type getType()
boolean hasBeenAnalysed()
boolean isAbstract()
boolean isChoice()
int getChoiceMinOccurs()
int getChoiceMaxOccurs()
boolean isGroup()
boolean isSimple()
boolean isMixedContent()
void setIsSimpleContent(boolean simpleContentFlag)
void setType(Type type)
void release()
boolean isGlobal()
int countSubNodes()
SchemaNode getSchemaElement()
boolean isEmptyComplexType()
boolean isRecursive()
void setRecursive(boolean isRecursion)
void addRecursiveElement(SchemaNode schemaElement)
java.lang.String[] getRecursiveElementNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |