public class GML3EncodingUtils extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static GML3EncodingUtils | INSTANCE | 
| Constructor and Description | 
|---|
| GML3EncodingUtils() | 
| GML3EncodingUtils(XSD gml) | 
| Modifier and Type | Method and Description | 
|---|---|
| static Element | AbstractFeatureType_encode(Object object,
                          Document document,
                          Element value,
                          XSDIdRegistry idSet) | 
| static List | AbstractFeatureType_getProperties(Object object,
                                 XSDElementDeclaration element,
                                 SchemaIndex schemaIndex,
                                 Configuration configuration)Deprecated. 
 use
             {@link #AbstractFeatureTypeGetProperties(Object, XSDElementDeclaration, SchemaIndex, Configuration) | 
| Element | AbstractFeatureTypeEncode(Object object,
                         Document document,
                         Element value,
                         XSDIdRegistry idSet) | 
| List | AbstractFeatureTypeGetProperties(Object object,
                                XSDElementDeclaration element,
                                SchemaIndex schemaIndex,
                                Configuration configuration) | 
| static NamespaceSupport | copyNamespaceSupport(NamespaceSupport namespaceSupport)Deep clones a  NamespaceSupportso that it can be used outside of this parse (as its
 state changes during the parse, and we need to keep all namespace mapping present at this
 point for later usage) | 
| static void | encodeAsText(Document document,
            Element element,
            Object value) | 
| static void | encodeClientProperties(Property complex,
                      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(ComplexAttribute complex,
                   Document document,
                   Element element)Encode the simpleContent property of a ComplexAttribute (if any) as an XML text node. | 
| List | GeometryPropertyType_GetProperties(Geometry geometry)Helper method used to implement  ComplexBinding.getProperties(Object)for bindings of
 geometry reference types:
 
   GeometryPropertyType
   PointPropertyType
   LineStringPropertyType
   PolygonPropertyType | 
| Object | GeometryPropertyType_GetProperty(Geometry geometry,
                                QName name)Helper method used to implement  ComplexBinding.getProperty(Object, QName)for
 bindings of geometry reference types:
 
   GeometryPropertyType
   PointPropertyType
   LineStringPropertyType
   PolygonPropertyType | 
| Object | GeometryPropertyType_GetProperty(Geometry geometry,
                                QName name,
                                boolean makeEmpty)Helper method used to implement  ComplexBinding.getProperty(Object, QName)for
 bindings of geometry reference types:
 
   GeometryPropertyType
   PointPropertyType
   LineStringPropertyType
   PolygonPropertyType | 
| static String | getAxisLabels(Geometry g)Get axisLabels for the geometry if set in app-schema mapping configuration. | 
| static String | getID(Geometry g) | 
| static List | getProperties(Geometry geometry)Deprecated. 
 | 
| static Object | getProperty(Geometry geometry,
           QName name)Deprecated. 
 | 
| static Object | getSimpleContent(ComplexAttribute complex)Return the simple content of a  ComplexAttributeif it represents a complexType with
 simpleContent, otherwise null. | 
| static String | getUomLabels(Geometry g)Get uomLabels for the geometry if set in app-schema mapping configuration. | 
| static void | setID(Geometry g,
     String id) | 
| static URI | toURI(CoordinateReferenceSystem crs,
     SrsSyntax srsSyntax) | 
public static GML3EncodingUtils INSTANCE
public GML3EncodingUtils()
public GML3EncodingUtils(XSD gml)
public static URI toURI(CoordinateReferenceSystem crs, SrsSyntax srsSyntax)
public static String getUomLabels(Geometry g)
public static String getAxisLabels(Geometry g)
public static String getID(Geometry g)
public static void setID(Geometry g,
                         String id)
public Object GeometryPropertyType_GetProperty(Geometry geometry, QName name)
ComplexBinding.getProperty(Object, QName) for
 bindings of geometry reference types:
 public Object GeometryPropertyType_GetProperty(Geometry geometry, QName name, boolean makeEmpty)
ComplexBinding.getProperty(Object, QName) for
 bindings of geometry reference types:
 public static Object getProperty(Geometry geometry, QName name)
GeometryPropertyType_GetProperty(Geometry, QName)public List GeometryPropertyType_GetProperties(Geometry geometry)
ComplexBinding.getProperties(Object) for bindings of
 geometry reference types:
 public static List getProperties(Geometry geometry)
GeometryPropertyType_GetProperties(Geometry)public Element AbstractFeatureTypeEncode(Object object, Document document, Element value, XSDIdRegistry idSet)
public static Element AbstractFeatureType_encode(Object object, Document document, Element value, XSDIdRegistry idSet)
public List AbstractFeatureTypeGetProperties(Object object, XSDElementDeclaration element, SchemaIndex schemaIndex, Configuration configuration)
public static List AbstractFeatureType_getProperties(Object object, XSDElementDeclaration element, SchemaIndex schemaIndex, Configuration configuration)
public static void encodeClientProperties(Property complex, Element element)
complex - the ComplexAttribute to search for client propertieselement - the element to which XML attributes should be addedpublic static void encodeSimpleContent(ComplexAttribute complex, Document document, 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 Object getSimpleContent(ComplexAttribute complex)
ComplexAttribute if it represents a complexType with
 simpleContent, otherwise null.complex - public static NamespaceSupport copyNamespaceSupport(NamespaceSupport namespaceSupport)
NamespaceSupport so that it can be used outside of this parse (as its
 state changes during the parse, and we need to keep all namespace mapping present at this
 point for later usage)namespaceSupport - Copyright © 1996–2019 Geotools. All rights reserved.