|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectGML3EncodingUtils
public class GML3EncodingUtils
Utility class for gml3 encoding.
modules/extension/xsd-gml3 (gt-xsd-gml3.jar)
Constructor Summary | |
---|---|
GML3EncodingUtils()
|
Method Summary | |
---|---|
static Element |
AbstractFeatureType_encode(Object object,
Document document,
Element value,
XSDIdRegistry idSet)
|
static List |
AbstractFeatureType_getProperties(Object object,
XSDElementDeclaration element,
SchemaIndex schemaIndex,
Configuration configuration)
|
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. |
static List |
getProperties(Geometry geometry)
Helper method used to implement ComplexBinding.getProperties(Object) for bindings of
geometry reference types:
GeometryPropertyType
PointPropertyType
LineStringPropertyType
PolygonPropertyType
|
static Object |
getProperty(Geometry geometry,
QName name)
Helper method used to implement ComplexBinding.getProperty(Object, QName) for
bindings of geometry reference types:
GeometryPropertyType
PointPropertyType
LineStringPropertyType
PolygonPropertyType
|
static Object |
getSimpleContent(ComplexAttribute complex)
Return the simple content of a ComplexAttribute if it represents a complexType with
simpleContent, otherwise null. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GML3EncodingUtils()
Method Detail |
---|
public static Object getProperty(Geometry geometry, QName name)
ComplexBinding.getProperty(Object, QName)
for
bindings of geometry reference types:
public static List getProperties(Geometry geometry)
ComplexBinding.getProperties(Object)
for bindings of
geometry reference types:
public static Element AbstractFeatureType_encode(Object object, Document document, Element value, XSDIdRegistry idSet)
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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |