public class ComplexTypeGT extends Object implements ComplexType
TODO Description
Responsibilities:
Example Use:
ComplexTypeGT x = new ComplexTypeGT( ... );
TODO code example
| Constructor and Description |
|---|
ComplexTypeGT(String id,
String name,
URI namespace,
ElementGrouping child,
Attribute[] attrs,
Element[] elems,
boolean mixed,
Type parent,
boolean _abstract,
boolean derived,
String anyAttributeNS)
Construct
ComplexTypeGT. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cache(Element element,
Map<String,Object> hints)
TODO summary sentence for cache ...
|
boolean |
canEncode(Element element,
Object value,
Map<String,Object> hints)
TODO summary sentence for canEncode ...
|
void |
encode(Element element,
Object value,
PrintHandler output,
Map<String,Object> hints)
TODO summary sentence for encode ...
|
Element |
findChildElement(String name1)
TODO summary sentence for findChildElement ...
|
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 ...
|
String |
getId()
TODO summary sentence for getId ...
|
Class |
getInstanceType()
TODO summary sentence for getInstanceType ...
|
String |
getName()
TODO summary sentence for getName ...
|
URI |
getNamespace()
TODO summary sentence for getNamespace ...
|
Type |
getParent()
TODO summary sentence for getParent ...
|
Object |
getValue(Element element,
ElementValue[] value,
Attributes attrs1,
Map<String,Object> 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 ...
|
public Type getParent()
getParent in interface ComplexTypeComplexType.getParent()public boolean isAbstract()
isAbstract in interface ComplexTypeComplexType.isAbstract()public String getAnyAttributeNameSpace()
getAnyAttributeNameSpace in interface ComplexTypeComplexType.getAnyAttributeNameSpace()public Attribute[] getAttributes()
getAttributes in interface ComplexTypeComplexType.getAttributes()public int getBlock()
getBlock in interface ComplexTypeComplexType.getBlock()public ElementGrouping getChild()
getChild in interface ComplexTypeComplexType.getChild()public Element[] getChildElements()
getChildElements in interface ComplexTypeComplexType.getChildElements()public int getFinal()
getFinal in interface ComplexTypeComplexType.getFinal()public String getId()
getId in interface ComplexTypeComplexType.getId()public boolean isMixed()
isMixed in interface ComplexTypeComplexType.isMixed()public boolean isDerived()
isDerived in interface ComplexTypeComplexType.isDerived()public boolean cache(Element element, Map<String,Object> hints)
cache in interface ComplexTypeComplexType.cache(org.geotools.xml.schema.Element,
java.util.Map)public Object getValue(Element element, ElementValue[] value, Attributes attrs1, Map<String,Object> hints) throws OperationNotSupportedException, SAXException
getValue in interface TypeOperationNotSupportedExceptionSAXExceptionType.getValue(org.geotools.xml.schema.Element,
org.geotools.xml.schema.ElementValue[], org.xml.sax.Attributes, java.util.Map)public String getName()
getName in interface TypeType.getName()public URI getNamespace()
getNamespace in interface TypeType.getNamespace()public Class getInstanceType()
getInstanceType in interface TypeType.getInstanceType()public boolean canEncode(Element element, Object value, Map<String,Object> hints)
canEncode in interface Typeelement - The element which may be used to represent the Object. This is included to
allow for child definitions to include addition information where appropriate.value - An Object which may or may not be encodeable by this type. The value may also be
null.Type.canEncode(org.geotools.xml.schema.Element,
java.lang.Object, java.util.Map)public void encode(Element element, Object value, PrintHandler output, Map<String,Object> hints) throws OperationNotSupportedException
encode in interface Typeelement - The original element declaration to which we should encode.value - The Object to encode.output - This is where the output should be written to.hints - For providing additional context information to specific schemas.OperationNotSupportedException - When this type cannot be encoded ... and wasn't
checked first.Type.encode(org.geotools.xml.schema.Element, java.lang.Object,
org.geotools.xml.PrintHandler, java.util.Map)public Element findChildElement(String name1)
findChildElement in interface Typename1 - the element's localName to search for.Type.findChildElement(java.lang.String)Copyright © 1996–2021 Geotools. All rights reserved.