|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is intended to represent an XML Schema complexType. This interface extends the generic XML schema type interface to represent datum within nested elements.
Method Summary | |
boolean |
cache(Element element,
java.util.Map hints)
This method is a directive to the parser whether to keep the data around in memory for post processing. |
java.lang.String |
getAnyAttributeNameSpace()
This methos represents the potential 'anyAttribute' declaration's namespace attribute which may occur within a complex type definition. |
Attribute[] |
getAttributes()
The set of attributes required by this complex type declaration. |
int |
getBlock()
Specifies a mask which denotes which substitution mechanisms may be used for this complex type definition. |
ElementGrouping |
getChild()
Returns the child element representing the structure of nested child nodes (if any are allowed). |
Element[] |
getChildElements()
|
int |
getFinal()
Specifies a mask which denotes which substitution mechanisms prohibited for use by child definitions of this complex type. |
java.lang.String |
getId()
Returns the xml schema id of this complexType if one exists, null otherwise. |
Type |
getParent()
This is used to represent the heirarchy represented within an xml schema document(s). |
boolean |
isAbstract()
Returns true when the complexType should be considered abstract, as defined by the XML schema of which this complex type definition is a part. |
boolean |
isDerived()
This method is used to publish whether this complexType is at the root of an inheritance tree, or a leaf within an inheritance tree. |
boolean |
isMixed()
Returns true if this complexType allows mixed content (Child elements and a String value). |
Methods inherited from interface org.geotools.xml.schema.Type |
canEncode, encode, findChildElement, getInstanceType, getName, getNamespace, getValue |
Method Detail |
public Type getParent()
This is used to represent the heirarchy represented within an xml schema document(s). This is particularily useful, as the parent will have the first attempt to create a real (non Object[]) value of the element. For more information see getValue.
Type#getValue(Element, ElementValue[], Attributes)
public boolean isAbstract()
public java.lang.String getAnyAttributeNameSpace()
public Attribute[] getAttributes()
public int getBlock()
Schema.EXTENSION
,
Schema.RESTRICTION
,
Schema.ALL
public ElementGrouping getChild()
ElementGrouping
public Element[] getChildElements()
public int getFinal()
Schema.EXTENSION
,
Schema.RESTRICTION
,
Schema.ALL
public java.lang.String getId()
public boolean isMixed()
public boolean isDerived()
public boolean cache(Element element, java.util.Map hints)
element
- DOCUMENT ME!hints
- DOCUMENT ME!
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |