|
|||||||||
| 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. e.q.: oracle.xml.parser.schema.XSDNode |
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 |
|---|
void addRecursiveElement(SchemaNode schemaElement)
int countSubNodes()
java.lang.String getBaseName()
int getChoiceMaxOccurs()
int getChoiceMinOccurs()
java.lang.String getName()
getName in interface QNamejava.lang.String getNamespacePrefix()
java.lang.Object getParserXSDNode()
java.lang.String getQName()
getQName in interface QNamejava.lang.String[] getRecursiveElementNames()
SchemaNode[] getRecursiveElements()
SchemaNode getSchemaElement()
Type getType()
boolean hasBeenAnalysed()
boolean isAbstract()
boolean isChoice()
boolean isEmptyComplexType()
boolean isGlobal()
boolean isGroup()
boolean isMixedContent()
boolean isRecursive()
boolean isSimple()
void release()
void setIsSimpleContent(boolean simpleContentFlag)
void setRecursive(boolean isRecursion)
void setType(Type type)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||