|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.gml3.bindings.GML3EncodingUtils
public class GML3EncodingUtils
Utility class for gml3 encoding.
Constructor Summary | |
---|---|
GML3EncodingUtils()
|
Method Summary | |
---|---|
static org.w3c.dom.Element |
AbstractFeatureType_encode(java.lang.Object object,
org.w3c.dom.Document document,
org.w3c.dom.Element value,
XSDIdRegistry idSet)
|
static java.util.List |
AbstractFeatureType_getProperties(java.lang.Object object,
org.eclipse.xsd.XSDElementDeclaration element,
SchemaIndex schemaIndex,
Configuration configuration)
|
static void |
encodeClientProperties(org.opengis.feature.Property complex,
org.w3c.dom.Element element)
Encode any client properties (XML attributes) found in the UserData map of a ComplexAttribute as XML attributes of the element. |
static void |
encodeSimpleContent(org.opengis.feature.ComplexAttribute complex,
org.w3c.dom.Document document,
org.w3c.dom.Element element)
Encode the simpleContent property of a ComplexAttribute (if any) as an XML text node. |
static java.util.List |
getProperties(com.vividsolutions.jts.geom.Geometry geometry)
Helper method used to implement ComplexBinding.getProperties(Object) for bindings of
geometry reference types:
GeometryPropertyType
PointPropertyType
LineStringPropertyType
PolygonPropertyType
|
static java.lang.Object |
getProperty(com.vividsolutions.jts.geom.Geometry geometry,
javax.xml.namespace.QName name)
Helper method used to implement ComplexBinding.getProperty(Object, QName) for
bindings of geometry reference types:
GeometryPropertyType
PointPropertyType
LineStringPropertyType
PolygonPropertyType
|
static java.lang.Object |
getSimpleContent(org.opengis.feature.ComplexAttribute complex)
Return the simple content of a ComplexAttribute if it represents a complexType with
simpleContent, otherwise null. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GML3EncodingUtils()
Method Detail |
---|
public static java.lang.Object getProperty(com.vividsolutions.jts.geom.Geometry geometry, javax.xml.namespace.QName name)
ComplexBinding.getProperty(Object, QName)
for
bindings of geometry reference types:
public static java.util.List getProperties(com.vividsolutions.jts.geom.Geometry geometry)
ComplexBinding.getProperties(Object)
for bindings of
geometry reference types:
public static org.w3c.dom.Element AbstractFeatureType_encode(java.lang.Object object, org.w3c.dom.Document document, org.w3c.dom.Element value, XSDIdRegistry idSet)
public static java.util.List AbstractFeatureType_getProperties(java.lang.Object object, org.eclipse.xsd.XSDElementDeclaration element, SchemaIndex schemaIndex, Configuration configuration)
public static void encodeClientProperties(org.opengis.feature.Property complex, org.w3c.dom.Element element)
complex
- the ComplexAttribute to search for client propertieselement
- the element to which XML attributes should be addedpublic static void encodeSimpleContent(org.opengis.feature.ComplexAttribute complex, org.w3c.dom.Document document, org.w3c.dom.Element element)
A property named simpleContent is a convention for representing XSD complexType with simpleContent in GeoAPI.
complex
- the ComplexAttribute to be searched for simpleContentdocument
- the containing documentelement
- the element to which text node should be addedpublic static java.lang.Object getSimpleContent(org.opengis.feature.ComplexAttribute complex)
ComplexAttribute
if it represents a complexType with
simpleContent, otherwise null.
complex
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |