org.geotools.xml.schema
Interface ComplexType

All Superinterfaces:
Type
All Known Implementing Classes:
ComplexTypeGT, FilterComplexTypes.Arithmetic_OperatorsType, FilterComplexTypes.BinaryOperatorType, FilterComplexTypes.Comparison_OperatorsType, FilterComplexTypes.EmptyType, FilterComplexTypes.ExpressionType, FilterComplexTypes.Filter_CapabilitiesType, FilterComplexTypes.Function_NamesType, FilterComplexTypes.Function_NameType, FilterComplexTypes.FunctionsType, FilterComplexTypes.FunctionType, FilterComplexTypes.LiteralType, FilterComplexTypes.PropertyNameType, FilterComplexTypes.Scalar_CapabilitiesType, FilterComplexTypes.ServiceExceptionReportType, FilterComplexTypes.ServiceExceptionType, FilterComplexTypes.SortByType, FilterComplexTypes.Spatial_CapabilitiesType, FilterComplexTypes.Spatial_OperatorsType, FilterOpsComplexTypes.BBOXType, FilterOpsComplexTypes.BinaryComparisonOpType, FilterOpsComplexTypes.BinaryLogicOpType, FilterOpsComplexTypes.BinarySpatialOpType, FilterOpsComplexTypes.ComparisonOpsType, FilterOpsComplexTypes.DistanceBufferType, FilterOpsComplexTypes.DistanceType, FilterOpsComplexTypes.FeatureIdType, FilterOpsComplexTypes.FilterType, FilterOpsComplexTypes.LogicOpsType, FilterOpsComplexTypes.LowerBoundaryType, FilterOpsComplexTypes.PropertyIsBetweenType, FilterOpsComplexTypes.PropertyIsLikeType, FilterOpsComplexTypes.PropertyIsNullType, FilterOpsComplexTypes.SpatialOpsType, FilterOpsComplexTypes.UnaryLogicOpType, FilterOpsComplexTypes.UpperBoundaryType, GMLComplexTypes.AbstractFeatureCollectionsBaseType, GMLComplexTypes.AbstractFeatureCollectionType, GMLComplexTypes.AbstractFeatureType, GMLComplexTypes.AbstractGeometryCollectionBaseType, GMLComplexTypes.AbstractGeometryType, GMLComplexTypes.BoundingShapeType, GMLComplexTypes.BoxType, GMLComplexTypes.CoordinatesType, GMLComplexTypes.CoordType, GMLComplexTypes.FeatureAssociationType, GMLComplexTypes.GeometryAssociationType, GMLComplexTypes.GeometryCollectionType, GMLComplexTypes.GeometryPropertyType, GMLComplexTypes.LinearRingMemberType, GMLComplexTypes.LinearRingType, GMLComplexTypes.LineStringMemberType, GMLComplexTypes.LineStringPropertyType, GMLComplexTypes.LineStringType, GMLComplexTypes.MultiGeometryPropertyType, GMLComplexTypes.MultiLineStringPropertyType, GMLComplexTypes.MultiLineStringType, GMLComplexTypes.MultiPointPropertyType, GMLComplexTypes.MultiPointType, GMLComplexTypes.MultiPolygonPropertyType, GMLComplexTypes.MultiPolygonType, GMLComplexTypes.PointMemberType, GMLComplexTypes.PointPropertyType, GMLComplexTypes.PointType, GMLComplexTypes.PolygonMemberType, GMLComplexTypes.PolygonPropertyType, GMLComplexTypes.PolygonType, ogcComplexType, ogcComplexTypes._FeatureInfoOutput, ogcComplexTypes._FeatureInfoSize, ogcComplexTypes._GetCapabilities, ogcComplexTypes._GetFeatureInfo, ogcComplexTypes._GetMap, ogcComplexTypes._Output, ogcComplexTypes._Size, ogcComplexTypes.VendorType, sldComplexType, WMSComplexTypes.__ExtendedCapabilitiesType, WMSComplexTypes._AttributionType, WMSComplexTypes._AuthorityURLType, WMSComplexTypes._BLANKType, WMSComplexTypes._BMPType, WMSComplexTypes._BoundingBoxType, WMSComplexTypes._CapabilityType, WMSComplexTypes._ContactAddressType, WMSComplexTypes._ContactInformationType, WMSComplexTypes._ContactPersonPrimaryType, WMSComplexTypes._CW_WKBType, WMSComplexTypes._DataURLType, WMSComplexTypes._DCPTypeType, WMSComplexTypes._DimensionType, WMSComplexTypes._EX_GeographicBoundingBoxType, WMSComplexTypes._ExceptionType, WMSComplexTypes._ExtentType, WMSComplexTypes._FeatureListURLType, WMSComplexTypes._FormatType, WMSComplexTypes._GeoTIFFType, WMSComplexTypes._GetType, WMSComplexTypes._GIFType, WMSComplexTypes._GML_1Type, WMSComplexTypes._GML_2Type, WMSComplexTypes._GML_3Type, WMSComplexTypes._HTTPType, WMSComplexTypes._IdentifierType, WMSComplexTypes._INIMAGEType, WMSComplexTypes._JPEGType, WMSComplexTypes._KeywordListType, WMSComplexTypes._KeywordsType, WMSComplexTypes._KeywordType, WMSComplexTypes._LatLonBoundingBoxType, WMSComplexTypes._LayerType, WMSComplexTypes._LegendURLType, WMSComplexTypes._LogoURLType, WMSComplexTypes._MetadataURLType, WMSComplexTypes._MIMEType, WMSComplexTypes._OnlineResourceType, WMSComplexTypes._PNGType, WMSComplexTypes._PostType, WMSComplexTypes._PPMType, WMSComplexTypes._RequestType, WMSComplexTypes._ScaleHintType, WMSComplexTypes._ServiceException, WMSComplexTypes._ServiceExceptionReport, WMSComplexTypes._ServiceType, WMSComplexTypes._StyleSheetURLType, WMSComplexTypes._StyleType, WMSComplexTypes._StyleURLType, WMSComplexTypes._SVGType, WMSComplexTypes._TIFFType, WMSComplexTypes._UserDefinedSymbolizationType, WMSComplexTypes._VendorSpecificCapabilitiesType, WMSComplexTypes._WBMPType, WMSComplexTypes._WebCGMType, WMSComplexTypes._WMS_CapabilitiesType, WMSComplexTypes._WMS_XMLType, WMSComplexTypes._WMT_MS_CapabilitiesType, WMSComplexTypes._WMTException, WMSDescribeLayerTypes._LayerDescription, WMSDescribeLayerTypes._Query, WMSDescribeLayerTypes.WMS_DescribeLayerResponse, XSISimpleTypes.AnyType

public interface ComplexType
extends Type

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.

Author:
dzwiers www.refractions.net
Module:
modules/library/xml (gt-xml.jar)

Method Summary
 boolean cache(Element element, Map hints)
          This method is a directive to the parser whether to keep the data around in memory for post processing.
 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.
 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 Type
canEncode, encode, findChildElement, getInstanceType, getName, getNamespace, getValue
 

Method Detail

getParent

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.

See Also:
Type#getValue(Element, ElementValue[], Attributes)

isAbstract

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.


getAnyAttributeNameSpace

String getAnyAttributeNameSpace()
This methos represents the potential 'anyAttribute' declaration's namespace attribute which may occur within a complex type definition.


getAttributes

Attribute[] getAttributes()
The 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.


getBlock

int getBlock()
Specifies a mask which denotes which substitution mechanisms may be used for this complex type definition.

See Also:
Schema.EXTENSION, Schema.RESTRICTION, Schema.ALL

getChild

ElementGrouping getChild()
Returns the child element representing the structure of nested child nodes (if any are allowed).

See Also:
ElementGrouping

getChildElements

Element[] getChildElements()

getFinal

int getFinal()
Specifies a mask which denotes which substitution mechanisms prohibited for use by child definitions of this complex type.

See Also:
Schema.EXTENSION, Schema.RESTRICTION, Schema.ALL

getId

String getId()
Returns the xml schema id of this complexType if one exists, null otherwise.


isMixed

boolean isMixed()
Returns true if this complexType allows mixed content (Child elements and a String value).


isDerived

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. This method should return true when the complexType is not a root of an inheritance tree.


cache

boolean cache(Element element,
              Map hints)
This 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.

Parameters:
element - DOCUMENT ME!
hints - DOCUMENT ME!
Returns:
True, except when streaming the element.


Copyright © 1996-2009 Geotools. All Rights Reserved.