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 ComplexType
ComplexType.getParent()
public boolean isAbstract()
isAbstract
in interface ComplexType
ComplexType.isAbstract()
public String getAnyAttributeNameSpace()
getAnyAttributeNameSpace
in interface ComplexType
ComplexType.getAnyAttributeNameSpace()
public Attribute[] getAttributes()
getAttributes
in interface ComplexType
ComplexType.getAttributes()
public int getBlock()
getBlock
in interface ComplexType
ComplexType.getBlock()
public ElementGrouping getChild()
getChild
in interface ComplexType
ComplexType.getChild()
public Element[] getChildElements()
getChildElements
in interface ComplexType
ComplexType.getChildElements()
public int getFinal()
getFinal
in interface ComplexType
ComplexType.getFinal()
public String getId()
getId
in interface ComplexType
ComplexType.getId()
public boolean isMixed()
isMixed
in interface ComplexType
ComplexType.isMixed()
public boolean isDerived()
isDerived
in interface ComplexType
ComplexType.isDerived()
public boolean cache(Element element, Map<String,Object> hints)
cache
in interface ComplexType
ComplexType.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 Type
OperationNotSupportedException
SAXException
Type.getValue(org.geotools.xml.schema.Element,
org.geotools.xml.schema.ElementValue[], org.xml.sax.Attributes, java.util.Map)
public String getName()
getName
in interface Type
Type.getName()
public URI getNamespace()
getNamespace
in interface Type
Type.getNamespace()
public Class getInstanceType()
getInstanceType
in interface Type
Type.getInstanceType()
public boolean canEncode(Element element, Object value, Map<String,Object> hints)
canEncode
in interface Type
element
- 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 Type
element
- 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 Type
name1
- the element's localName to search for.Type.findChildElement(java.lang.String)
Copyright © 1996–2023 Geotools. All rights reserved.