org.deegree.record.persistence.genericrecordstore.parsing
Class ISOQPParsing
java.lang.Object
org.deegree.commons.xml.XMLAdapter
org.deegree.record.persistence.genericrecordstore.parsing.ISOQPParsing
public final class ISOQPParsing
- extends XMLAdapter
Parsing regarding to ISO and DC application profile. Here the input XML document is parsed into its parts. So this is
the entry point to generate a record that fits with the backend. The queryable and returnable properties are
disentangled. This is needed to put them into the queryable property tables in the backend and makes them queryable.
In this context they are feasible to build the Dublin Core record which has nearly planar elements with no nested
areas.
- Version:
- $Revision: $, $Date: $
- Author:
- Steffen Thomas, last edited by: $Author: thomas $
| Methods inherited from class org.deegree.commons.xml.XMLAdapter |
evaluateXPath, getElement, getElements, getNamespaceContext, getNode, getNodeAsBoolean, getNodeAsDouble, getNodeAsFloat, getNodeAsInt, getNodeAsQName, getNodeAsString, getNodeAsURL, getNodeAsVersion, getNodes, getNodesAsQNames, getNodesAsStrings, getRequiredElement, getRequiredElements, getRequiredNode, getRequiredNodeAsBoolean, getRequiredNodeAsDouble, getRequiredNodeAsFloat, getRequiredNodeAsInteger, getRequiredNodeAsQName, getRequiredNodeAsString, getRequiredNodeAsURL, getRequiredNodeAsVersion, getRequiredNodes, getRootElement, getSchemas, getSystemId, hasSchemas, load, load, load, load, load, maybeWriteElement, maybeWriteElementNS, parseBoolean, parseDouble, parseFloat, parseInt, parseQName, parseSimpleLink, parseURL, resolve, setRootElement, setSystemId, toString, writeElement, writeElement, writeElement, writeElement, writeElement, writeOptionalAttribute, writeOptionalElement, writeOptionalNSAttribute |
ISOQPParsing
public ISOQPParsing()
parseAPISO
public ParsedProfileElement parseAPISO(org.apache.axiom.om.OMElement element,
boolean isInspire,
Connection connection)
throws IOException
- Parses the recordelement that should be inserted into the backend. Every elementknot is put into an OMElement and
its atomic representation:
e.g. the "fileIdentifier" is put into an OMElement identifier and its identification-String is put into the
QueryableProperties.
- Parameters:
element - the XML element that has to be parsed to be able to generate needed database propertiesisInspire - if the INSPIRE directive is setconnection -
- Returns:
ParsedProfileElement
- Throws:
IOException
parseAPDC
public ParsedProfileElement parseAPDC(org.apache.axiom.om.OMElement element)
throws IOException
- This method parses the OMElement regarding to the Dublin Core profile.
- Parameters:
element -
- Returns:
ParsedProfileElement
- Throws:
IOException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>