org.deegree.metadata.iso.parsing
Class ISOQPParsing

java.lang.Object
  extended by org.deegree.commons.xml.XMLAdapter
      extended by org.deegree.metadata.iso.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: 31021 $, $Date: 2011-06-09 08:40:00 +0200 (Do, 09. Jun 2011) $
Author:
Steffen Thomas, last edited by: $Author: lbuesching $

Field Summary
 
Fields inherited from class org.deegree.commons.xml.XMLAdapter
DEFAULT_URL, nsContext, rootElement, XLN_NS
 
Constructor Summary
ISOQPParsing()
           
 
Method Summary
 ParsedProfileElement parseAPISO(org.apache.axiom.om.OMElement element)
          Parses the recordelement that should be inserted into the backend.
 
Methods inherited from class org.deegree.commons.xml.XMLAdapter
evaluateXPath, getElement, getElements, getNamespaceContext, getNode, getNodeAsBigInt, 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, load, load, maybeWriteElement, maybeWriteElementNS, parseBoolean, parseDouble, parseFloat, parseInt, parseQName, parseSimpleLink, parseURL, resolve, setRootElement, setSystemId, toString, writeElement, writeElement, writeElement, writeElement, writeElement, writeOptionalAttribute, writeOptionalElement, writeOptionalNSAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ISOQPParsing

public ISOQPParsing()
Method Detail

parseAPISO

public ParsedProfileElement parseAPISO(org.apache.axiom.om.OMElement element)
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 properties
Returns:
ParsedProfileElement
Throws:
IOException


Copyright © 2011. All Rights Reserved.