|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.ogcbase.XMLFactory
public class XMLFactory
Factory for creating DOM representations from java objects used to represent OGC
related schema types.
| Field Summary | |
|---|---|
protected static URI |
GMLNS
|
protected static ILogger |
LOG
|
protected static URI |
OGCNS
|
protected static URI |
XLNNS
|
| Constructor Summary | |
|---|---|
XMLFactory()
|
|
| Method Summary | |
|---|---|
protected static void |
appendCodeList(Element xmlNode,
CodeList codeList,
URI namespaceURI)
Appends an XML representation of the passed CodeList to the
passed Element. |
protected static void |
appendEnvelope(Element xmlNode,
Envelope envelope)
Appends an XML/GML Envelope -element to the passed Element. |
protected static void |
appendFeatureId(Element root,
String fid)
Appends the DOM representation of the given feature id to the given element. |
protected static void |
appendGeometry(Element el,
Geometry geom)
Appends the DOM representation of the given Geometry to the given element. |
protected static void |
appendInterval(Element xmlNode,
Interval interval,
URI namespaceURI)
Appends an XML representation of the passed Interval to the
passed Element. |
protected static void |
appendKeywords(Element xmlNode,
Keywords[] keywords,
URI namespaceURI)
Appends a keywords -element for each Keywords object of the
passed array to the passed Element. |
protected static void |
appendKeywords(Element xmlNode,
Keywords keywords,
URI namespaceURI)
Appends a keywords -element to the passed Element and fills it
with the available keywords. |
protected static void |
appendLonLatEnvelope(Element root,
LonLatEnvelope lonLatEnvelope,
URI namespaceURI)
Appends the DOM representation of a LonLatEnvelope to the
passed Element. |
protected static void |
appendOnlineResource(Element xmlNode,
String elementName,
OnlineResource onlineResource,
URI namespaceURI)
Appends the DOM representation of a simple XLink -element to
the passed Element. |
protected static void |
appendPropertyPath(Element element,
PropertyPath propertyPath)
Appends the DOM representation of the given PropertyPath as a
new text node to the given element (including necessary namespace bindings). |
protected static void |
appendSimpleLinkAttributes(Element linkElement,
SimpleLink simpleLink)
Appends the XML attributes of the given SimpleLink to the also passed
Element. |
protected static void |
appendTemporalDomain(Element xmlNode,
TimeSequence timeSeq,
URI namespaceURI)
Appends an XML representation of the passed TimeSequence to the
passed Element. |
protected static void |
appendTimePeriod(Element xmlNode,
TimePeriod tPeriod,
URI namespaceURI)
Appends an XML representation of the passed TimePeriod to the
passed Element. |
protected static void |
appendTimePosition(Element xmlNode,
TimePosition tpos)
Appends the XML/GML representation of a TimePosition to the
passed Element. |
protected static void |
appendTimeResolution(Element xmlNode,
TimeDuration duration)
Appends an XML/GML representation of the passed TimeDuration to
the passed Element. |
protected static void |
appendTypedLiteral(Element xmlNode,
TypedLiteral singleValue,
String name,
URI namespaceURI)
Appends an XML representation of the passed TypedLiteral to the
passed Element. |
protected static void |
appendValues(Element xmlNode,
Values values,
URI namespaceURI)
Appends an XML representation of the passed Values to the
passed Element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final ILogger LOG
protected static final URI OGCNS
protected static final URI GMLNS
protected static final URI XLNNS
| Constructor Detail |
|---|
public XMLFactory()
| Method Detail |
|---|
protected static void appendLonLatEnvelope(Element root,
LonLatEnvelope lonLatEnvelope,
URI namespaceURI)
DOM representation of a LonLatEnvelope to the
passed Element.
root - lonLatEnvelope - namespaceURI -
protected static void appendEnvelope(Element xmlNode,
Envelope envelope)
XML/GML Envelope -element to the passed Element.
xmlNode - envelope -
protected static void appendTimePosition(Element xmlNode,
TimePosition tpos)
XML/GML representation of a TimePosition to the
passed Element.
xmlNode - tpos -
protected static void appendKeywords(Element xmlNode,
Keywords[] keywords,
URI namespaceURI)
keywords -element for each Keywords object of the
passed array to the passed Element.
xmlNode - keywords - namespaceURI -
protected static void appendKeywords(Element xmlNode,
Keywords keywords,
URI namespaceURI)
keywords -element to the passed Element and fills it
with the available keywords.
xmlNode - keywords - namespaceURI -
protected static void appendTemporalDomain(Element xmlNode,
TimeSequence timeSeq,
URI namespaceURI)
XML representation of the passed TimeSequence to the
passed Element.
xmlNode - timeSeq - namespaceURI -
protected static void appendTimePeriod(Element xmlNode,
TimePeriod tPeriod,
URI namespaceURI)
XML representation of the passed TimePeriod to the
passed Element.
xmlNode - tPeriod - namespaceURI -
protected static void appendTimeResolution(Element xmlNode,
TimeDuration duration)
XML/GML representation of the passed TimeDuration to
the passed Element.
xmlNode - duration -
protected static void appendValues(Element xmlNode,
Values values,
URI namespaceURI)
XML representation of the passed Values to the
passed Element.
xmlNode - values - namespaceURI -
protected static void appendInterval(Element xmlNode,
Interval interval,
URI namespaceURI)
XML representation of the passed Interval to the
passed Element.
xmlNode - interval - namespaceURI -
protected static void appendTypedLiteral(Element xmlNode,
TypedLiteral singleValue,
String name,
URI namespaceURI)
XML representation of the passed TypedLiteral to the
passed Element.
xmlNode - singleValue - name - namespaceURI -
protected static void appendCodeList(Element xmlNode,
CodeList codeList,
URI namespaceURI)
XML representation of the passed CodeList to the
passed Element.
xmlNode - codeList - namespaceURI -
protected static void appendSimpleLinkAttributes(Element linkElement,
SimpleLink simpleLink)
SimpleLink to the also passed
Element.
linkElement - simpleLink -
protected static void appendOnlineResource(Element xmlNode,
String elementName,
OnlineResource onlineResource,
URI namespaceURI)
DOM representation of a simple XLink -element to
the passed Element.
xmlNode - elementName - onlineResource - namespaceURI -
protected static void appendPropertyPath(Element element,
PropertyPath propertyPath)
DOM representation of the given PropertyPath as a
new text node to the given element (including necessary namespace bindings).
element - Element node where the PropertyPath is appended topropertyPath -
protected static void appendFeatureId(Element root,
String fid)
DOM representation of the given feature id to the given element.
root - Element node where the "ogc:FeatureId" element is appended tofid - feature identifier
protected static void appendGeometry(Element el,
Geometry geom)
throws GeometryException
DOM representation of the given Geometry to the given element.
TODO Do this a better way...
el - element node where the geometry is appended togeom - geometry to be appended
GeometryException
|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net