org.geotools.xml.schema.impl
Class ComplexTypeGT

java.lang.Object
  extended byorg.geotools.xml.schema.impl.ComplexTypeGT
All Implemented Interfaces:
ComplexType, Type
Direct Known Subclasses:
ogcComplexType, sldComplexType

public class ComplexTypeGT
extends java.lang.Object
implements ComplexType

Provides ...TODO summary sentence

TODO Description

Responsibilities:

Example Use:


 ComplexTypeGT x = new ComplexTypeGT( ... );
 TODO code example
 

Since:
0.3
Author:
dzwiers

Constructor Summary
ComplexTypeGT(java.lang.String id, java.lang.String name, java.net.URI namespace, ElementGrouping child, Attribute[] attrs, Element[] elems, boolean mixed, Type parent, boolean _abstract, boolean derived, java.lang.String anyAttributeNS)
          Construct ComplexTypeGT.
 
Method Summary
 boolean cache(Element element, java.util.Map hints)
          TODO summary sentence for cache ...
 boolean canEncode(Element element, java.lang.Object value, java.util.Map hints)
          TODO summary sentence for canEncode ...
 void encode(Element element, java.lang.Object value, PrintHandler output, java.util.Map hints)
          TODO summary sentence for encode ...
 Element findChildElement(java.lang.String name1)
          TODO summary sentence for findChildElement ...
 java.lang.String getAnyAttributeNameSpace()
          TODO summary sentence for getAnyAttributeNameSpace ...
 Attribute[] getAttributes()
          TODO summary sentence for getAttributes ...
 int getBlock()
          TODO summary sentence for getBlock ...
 ElementGrouping getChild()
          TODO summary sentence for getChild ...
 Element[] getChildElements()
          TODO summary sentence for getChildElements ...
 int getFinal()
          TODO summary sentence for getFinal ...
 java.lang.String getId()
          TODO summary sentence for getId ...
 java.lang.Class getInstanceType()
          TODO summary sentence for getInstanceType ...
 java.lang.String getName()
          TODO summary sentence for getName ...
 java.net.URI getNamespace()
          TODO summary sentence for getNamespace ...
 Type getParent()
          TODO summary sentence for getParent ...
 java.lang.Object getValue(Element element, ElementValue[] value, org.xml.sax.Attributes attrs1, java.util.Map hints)
          TODO summary sentence for getValue ...
 boolean isAbstract()
          TODO summary sentence for isAbstract ...
 boolean isDerived()
          TODO summary sentence for isDerived ...
 boolean isMixed()
          TODO summary sentence for isMixed ...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComplexTypeGT

public ComplexTypeGT(java.lang.String id,
                     java.lang.String name,
                     java.net.URI namespace,
                     ElementGrouping child,
                     Attribute[] attrs,
                     Element[] elems,
                     boolean mixed,
                     Type parent,
                     boolean _abstract,
                     boolean derived,
                     java.lang.String anyAttributeNS)
Construct ComplexTypeGT.

Parameters:
id -
name -
namespace -
child -
attrs -
elems -
mixed -
parent -
_abstract -
derived -
anyAttributeNS -
Method Detail

getParent

public Type getParent()
TODO summary sentence for getParent ...

Specified by:
getParent in interface ComplexType
Returns:
See Also:
ComplexType.getParent()

isAbstract

public boolean isAbstract()
TODO summary sentence for isAbstract ...

Specified by:
isAbstract in interface ComplexType
Returns:
See Also:
ComplexType.isAbstract()

getAnyAttributeNameSpace

public java.lang.String getAnyAttributeNameSpace()
TODO summary sentence for getAnyAttributeNameSpace ...

Specified by:
getAnyAttributeNameSpace in interface ComplexType
Returns:
See Also:
ComplexType.getAnyAttributeNameSpace()

getAttributes

public Attribute[] getAttributes()
TODO summary sentence for getAttributes ...

Specified by:
getAttributes in interface ComplexType
Returns:
See Also:
ComplexType.getAttributes()

getBlock

public int getBlock()
TODO summary sentence for getBlock ...

Specified by:
getBlock in interface ComplexType
Returns:
See Also:
ComplexType.getBlock()

getChild

public ElementGrouping getChild()
TODO summary sentence for getChild ...

Specified by:
getChild in interface ComplexType
Returns:
See Also:
ComplexType.getChild()

getChildElements

public Element[] getChildElements()
TODO summary sentence for getChildElements ...

Specified by:
getChildElements in interface ComplexType
Returns:
See Also:
ComplexType.getChildElements()

getFinal

public int getFinal()
TODO summary sentence for getFinal ...

Specified by:
getFinal in interface ComplexType
Returns:
See Also:
ComplexType.getFinal()

getId

public java.lang.String getId()
TODO summary sentence for getId ...

Specified by:
getId in interface ComplexType
Returns:
See Also:
ComplexType.getId()

isMixed

public boolean isMixed()
TODO summary sentence for isMixed ...

Specified by:
isMixed in interface ComplexType
Returns:
See Also:
ComplexType.isMixed()

isDerived

public boolean isDerived()
TODO summary sentence for isDerived ...

Specified by:
isDerived in interface ComplexType
Returns:
See Also:
ComplexType.isDerived()

cache

public boolean cache(Element element,
                     java.util.Map hints)
TODO summary sentence for cache ...

Specified by:
cache in interface ComplexType
Parameters:
element -
hints -
Returns:
See Also:
ComplexType.cache(org.geotools.xml.schema.Element, java.util.Map)

getValue

public java.lang.Object getValue(Element element,
                                 ElementValue[] value,
                                 org.xml.sax.Attributes attrs1,
                                 java.util.Map hints)
                          throws javax.naming.OperationNotSupportedException,
                                 org.xml.sax.SAXException
TODO summary sentence for getValue ...

Specified by:
getValue in interface Type
Parameters:
element -
value -
attrs1 -
hints -
Returns:
Throws:
org.xml.sax.SAXException
javax.naming.OperationNotSupportedException
org.xml.sax.SAXException
See Also:
Type.getValue(org.geotools.xml.schema.Element, org.geotools.xml.schema.ElementValue[], org.xml.sax.Attributes, java.util.Map)

getName

public java.lang.String getName()
TODO summary sentence for getName ...

Specified by:
getName in interface Type
Returns:
See Also:
Type.getName()

getNamespace

public java.net.URI getNamespace()
TODO summary sentence for getNamespace ...

Specified by:
getNamespace in interface Type
Returns:
See Also:
Type.getNamespace()

getInstanceType

public java.lang.Class getInstanceType()
TODO summary sentence for getInstanceType ...

Specified by:
getInstanceType in interface Type
Returns:
See Also:
Type.getInstanceType()

canEncode

public boolean canEncode(Element element,
                         java.lang.Object value,
                         java.util.Map hints)
TODO summary sentence for canEncode ...

Specified by:
canEncode in interface Type
Parameters:
element -
value -
hints -
Returns:
See Also:
Type.canEncode(org.geotools.xml.schema.Element, java.lang.Object, java.util.Map)

encode

public void encode(Element element,
                   java.lang.Object value,
                   PrintHandler output,
                   java.util.Map hints)
            throws javax.naming.OperationNotSupportedException
TODO summary sentence for encode ...

Specified by:
encode in interface Type
Parameters:
element -
value -
output -
hints -
Throws:
java.io.IOException
javax.naming.OperationNotSupportedException
See Also:
Type.encode(org.geotools.xml.schema.Element, java.lang.Object, org.geotools.xml.PrintHandler, java.util.Map)

findChildElement

public Element findChildElement(java.lang.String name1)
TODO summary sentence for findChildElement ...

Specified by:
findChildElement in interface Type
Parameters:
name1 -
Returns:
See Also:
Type.findChildElement(java.lang.String)


Copyright © GeoTools. All Rights Reserved.