Package org.geotools.xml.gml
Class GMLComplexTypes.AbstractFeatureCollectionsBaseType
Object
GMLComplexTypes.AbstractFeatureType
AbstractFeatureCollectionsBaseType
- All Implemented Interfaces:
ComplexType,Type
- Enclosing class:
- GMLComplexTypes
public static class GMLComplexTypes.AbstractFeatureCollectionsBaseType
extends GMLComplexTypes.AbstractFeatureType
This class represents an AbstractFeatureCollectionsBaseType within the GML Schema. This includes both the data
and parsing functionality associated with an AbstractFeatureCollectionsBaseType.
- Author:
- dzwiers
- See Also:
-
GMLSchema.GMLComplexTypeComplexType
-
Field Summary
Fields inherited from class GMLComplexTypes.AbstractFeatureType
attributes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis method is a directive to the parser whether to keep the data around in memory for post processing.findChildElement(String name) Convinience method used to search this type's children for the requested element by localName.This methos represents the potential 'anyAttribute' declaration's namespace attribute which may occur within a complex type definition.The set of attributes required by this complex type declaration.intgetBlock()Specifies a mask which denotes which substitution mechanisms may be used for this complex type definition.getChild()Returns the child element representing the structure of nested child nodes (if any are allowed).intgetFinal()Specifies a mask which denotes which substitution mechanisms prohibited for use by child definitions of this complex type.getId()Returns the xml schema id of this complexType if one exists, null otherwise.static GMLSchema.GMLComplexTypegetName()This returns the XML Schema declaration name of this type (both complex and simple types have names ...)This is used for validation of an XML document, and represents the targetNamespace of that this type resides in.This is used to represent the heirarchy represented within an xml schema document(s).booleanReturns true when the complexType should be considered abstract, as defined by the XML schema of which this complex type definition is a part.booleanThis method is used to publish whether this complexType is at the root of an inheritance tree, or a leaf within an inheritance tree.booleanisMixed()Returns true if this complexType allows mixed content (Child elements and a String value).Methods inherited from class GMLComplexTypes.AbstractFeatureType
canEncode, encode, getChildElements, getFeature, getInstanceType, getValue
-
Constructor Details
-
AbstractFeatureCollectionsBaseType
public AbstractFeatureCollectionsBaseType()
-
-
Method Details
-
getInstance
public static GMLSchema.GMLComplexType getInstance() -
isAbstract
public boolean isAbstract()Description copied from interface:ComplexTypeReturns true when the complexType should be considered abstract, as defined by the XML schema of which this complex type definition is a part.- Specified by:
isAbstractin interfaceComplexType- Overrides:
isAbstractin classGMLComplexTypes.AbstractFeatureType- See Also:
-
schema.ComplexType#isAbstract()
-
getAnyAttributeNameSpace
Description copied from interface:ComplexTypeThis methos represents the potential 'anyAttribute' declaration's namespace attribute which may occur within a complex type definition.- Specified by:
getAnyAttributeNameSpacein interfaceComplexType- Overrides:
getAnyAttributeNameSpacein classGMLComplexTypes.AbstractFeatureType- See Also:
-
schema.ComplexType#getAnyAttributeNameSpace()
-
getAttributes
Description copied from interface:ComplexTypeThe set of attributes required by this complex type declaration. As per the xml schema definition, there is not an implied order to the attributes. For performance reasons an implementor may wich to order the attributes from most common to least commonly used attributes.- Specified by:
getAttributesin interfaceComplexType- Overrides:
getAttributesin classGMLComplexTypes.AbstractFeatureType- See Also:
-
schema.ComplexType#getAttributeDescriptors()
-
getChild
Description copied from interface:ComplexTypeReturns the child element representing the structure of nested child nodes (if any are allowed).- Specified by:
getChildin interfaceComplexType- Overrides:
getChildin classGMLComplexTypes.AbstractFeatureType- See Also:
-
schema.ComplexType#getChildren()
-
getName
Description copied from interface:TypeThis returns the XML Schema declaration name of this type (both complex and simple types have names ...)- Specified by:
getNamein interfaceType- Overrides:
getNamein classGMLComplexTypes.AbstractFeatureType- See Also:
-
schema.ComplexType#getLocalName()
-
findChildElement
Description copied from interface:TypeConvinience method used to search this type's children for the requested element by localName.- Specified by:
findChildElementin interfaceType- Overrides:
findChildElementin classGMLComplexTypes.AbstractFeatureType- Parameters:
name- the element's localName to search for.- See Also:
-
schema.ComplexType#findChildElement(java.lang.String)
-
getBlock
public int getBlock()Description copied from interface:ComplexTypeSpecifies a mask which denotes which substitution mechanisms may be used for this complex type definition.- Specified by:
getBlockin interfaceComplexType- See Also:
-
schema.ComplexType#getBlock()
-
getFinal
public int getFinal()Description copied from interface:ComplexTypeSpecifies a mask which denotes which substitution mechanisms prohibited for use by child definitions of this complex type.- Specified by:
getFinalin interfaceComplexType- See Also:
-
schema.ComplexType#getFinal()
-
getId
Description copied from interface:ComplexTypeReturns the xml schema id of this complexType if one exists, null otherwise.- Specified by:
getIdin interfaceComplexType- See Also:
-
schema.ComplexType#getId()
-
isMixed
public boolean isMixed()Description copied from interface:ComplexTypeReturns true if this complexType allows mixed content (Child elements and a String value).- Specified by:
isMixedin interfaceComplexType- See Also:
-
schema.ComplexType#isMixed()
-
getNamespace
Description copied from interface:TypeThis is used for validation of an XML document, and represents the targetNamespace of that this type resides in.- Specified by:
getNamespacein interfaceType- See Also:
-
schema.ComplexType#getNamespace()
-
isDerived
public boolean isDerived()Description copied from interface:ComplexTypeThis method is used to publish whether this complexType is at the root of an inheritance tree, or a leaf within an inheritance tree. This method should return true when the complexType is not a root of an inheritance tree.- Specified by:
isDerivedin interfaceComplexType- See Also:
-
schema.ComplexType#isDerived()
-
getParent
Description copied from interface:ComplexTypeThis 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.- Specified by:
getParentin interfaceComplexType- See Also:
-
schema.ComplexType#getParent()
-
cache
Description copied from interface:ComplexTypeThis method is a directive to the parser whether to keep the data around in memory for post processing. Generally this should return True, except when streaming.- Specified by:
cachein interfaceComplexType- Returns:
- True, except when streaming the element.
- See Also:
-
org.geotools.xml.schema.ComplexType#cache()
-