|
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.framework.xml.XMLFragment
org.deegree.ogcbase.OGCDocument
public abstract class OGCDocument
Field Summary | |
---|---|
protected static URI |
GMLNS
|
Fields inherited from class org.deegree.framework.xml.XMLFragment |
---|
DEFAULT_URL, LOG, nsContext, XLNNS |
Constructor Summary | |
---|---|
OGCDocument()
|
Method Summary | |
---|---|
protected CodeList |
parseCodeList(Element element)
creates a CodeList object from the passed element |
protected CodeList[] |
parseCodeListArray(ElementList el)
creates an array of CodeList objects from the passed element list |
protected Interval |
parseInterval(Element element,
URI namespaceURI)
creates an Interval object from the passed element |
protected Keywords[] |
parseKeywords(ElementList el,
URI namespaceURI)
Creates an array of Keywords from the passed list of keyword
-elements. |
protected Keywords |
parseKeywords(Element element,
URI namespaceURI)
Creates a Keywords instance from the given keywords -element. |
static LonLatEnvelope |
parseLonLatEnvelope(Element element)
creates a LonLatEnvelope object from the passed element |
protected OnlineResource |
parseOnLineResource(Element element)
Creates an OnLineResource instance from the passed element. |
static PropertyPath |
parsePropertyPath(Text textNode)
Creates a new instance of PropertyPath from the given text node. |
protected TimePeriod |
parseTimePeriod(Element element,
URI namespaceURI)
creates a TimePeriod from the passed element |
protected TimePeriod[] |
parseTimePeriods(ElementList el,
URI namespaceURI)
creates an array of TimePeriod s from the passed element |
protected static TimePosition[] |
parseTimePositions(ElementList el)
creates an array of TimePosition s from the passed element |
protected TimeSequence |
parseTimeSequence(Element element,
URI namespaceURI)
creates an TimeSequence from the passed element |
protected TypedLiteral |
parseTypedLiteral(Element element)
creates a TypedLiteral from the passed element |
protected Values |
parseValues(Element element,
URI namespaceURI)
creates a Values object from the passed element |
Methods inherited from class org.deegree.framework.xml.XMLFragment |
---|
getAsPrettyString, getAsString, getAttachedSchemas, getQualifiedName, getRootElement, getSystemId, hasSchema, load, load, load, parseQualifiedName, parseSimpleLink, prettyPrint, prettyPrint, resolve, setRootElement, setSystemId, setSystemId, toString, write, write, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final URI GMLNS
Constructor Detail |
---|
public OGCDocument()
Method Detail |
---|
public static LonLatEnvelope parseLonLatEnvelope(Element element) throws XMLParsingException, OGCWebServiceException
element
-
XMLParsingException
OGCWebServiceException
InvalidCoverageDescriptionExcpetion
protected static TimePosition[] parseTimePositions(ElementList el) throws XMLParsingException, OGCWebServiceException
el
-
XMLParsingException
InvalidCoverageDescriptionExcpetion
OGCWebServiceException
protected Keywords[] parseKeywords(ElementList el, URI namespaceURI)
Keywords
from the passed list of keyword
-elements.
This appears to be pretty superfluous (as one keywords
- element may contain
several keyword
-elements). However, the schema in the OGC document "Web
Coverage Service (WCS), Version 1.0.0", contains the following line (in the definition of the
CoverageOfferingBriefType):
<xs:element ref="keywords" minOccurs="0" maxOccurs="unbounded"/>
el
-
XMLParsingException
protected Keywords parseKeywords(Element element, URI namespaceURI)
Keywords
instance from the given keywords
-element.
element
- namespaceURI
-
Keywords
XMLParsingException
protected TimeSequence parseTimeSequence(Element element, URI namespaceURI) throws XMLParsingException, OGCWebServiceException
element
-
XMLParsingException
InvalidCoverageDescriptionExcpetion
OGCWebServiceException
protected TimePeriod[] parseTimePeriods(ElementList el, URI namespaceURI) throws XMLParsingException, OGCWebServiceException
el
-
XMLParsingException
InvalidCoverageDescriptionExcpetion
OGCWebServiceException
protected TimePeriod parseTimePeriod(Element element, URI namespaceURI) throws XMLParsingException, OGCWebServiceException
element
-
XMLParsingException
InvalidCoverageDescriptionExcpetion
OGCWebServiceException
protected Values parseValues(Element element, URI namespaceURI) throws XMLParsingException
element
-
XMLParsingException
protected Interval parseInterval(Element element, URI namespaceURI) throws XMLParsingException
element
-
XMLParsingException
protected TypedLiteral parseTypedLiteral(Element element) throws XMLParsingException
element
-
XMLParsingException
protected CodeList[] parseCodeListArray(ElementList el) throws XMLParsingException
el
-
XMLParsingException
protected CodeList parseCodeList(Element element) throws XMLParsingException
element
-
XMLParsingException
protected OnlineResource parseOnLineResource(Element element) throws XMLParsingException
element
-
XMLParsingException
public static PropertyPath parsePropertyPath(Text textNode) throws XMLParsingException
PropertyPath
from the given text node.
NOTE: Namespace prefices used in the property path must be bound using XML namespace mechanisms (i.e. using xmlns attributes in the document).
textNode
- string representation of the property path
XMLParsingException
PropertyPath
|
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