deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.model.metadata.iso19115
Class ISO19115Document

java.lang.Object
  extended by org.deegree.framework.xml.XMLFragment
      extended by org.deegree.model.metadata.iso19115.ISO19115Document
All Implemented Interfaces:
java.io.Serializable

public class ISO19115Document
extends XMLFragment

Parser class that can parse various elements defined in the OWS subset of the ISO 19115 specification.

Since:
2.0
Version:
2.0, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Andreas Schmitz, last edited by: $Author: mschneider $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.deegree.framework.xml.XMLFragment
DEFAULT_URL, nsContext, XLNNS
 
Constructor Summary
ISO19115Document()
           
 
Method Summary
 Address parseAddress(org.w3c.dom.Element root)
           
 CitedResponsibleParty parseCitedResponsibleParty(org.w3c.dom.Element root)
           
 Code parseCode(org.w3c.dom.Element root)
           
 Constraints parseConstraint(org.w3c.dom.Element root, java.lang.String fee)
           
 ContactInfo parseContactInfo(org.w3c.dom.Element root)
           
 Keywords parseKeywords(org.w3c.dom.Element root)
           
 OnlineResource parseOnlineResource(org.w3c.dom.Element root)
           
 Phone parsePhone(org.w3c.dom.Element root)
           
 RoleCode parseRoleCode(org.w3c.dom.Element root)
           
 TypeCode parseTypeCode(org.w3c.dom.Element root)
           
 
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
 

Constructor Detail

ISO19115Document

public ISO19115Document()
Method Detail

parseCitedResponsibleParty

public CitedResponsibleParty parseCitedResponsibleParty(org.w3c.dom.Element root)
                                                 throws XMLParsingException
Parameters:
root - an element of type ows:ResponsiblePartySubsetType
Returns:
the data object
Throws:
XMLParsingException

parseContactInfo

public ContactInfo parseContactInfo(org.w3c.dom.Element root)
                             throws XMLParsingException
Parameters:
root - the ContactInfo element
Returns:
the ContactInfo data object
Throws:
XMLParsingException

parseAddress

public Address parseAddress(org.w3c.dom.Element root)
                     throws XMLParsingException
Parameters:
root - the Address element
Returns:
the Address data object
Throws:
XMLParsingException

parsePhone

public Phone parsePhone(org.w3c.dom.Element root)
                 throws XMLParsingException
Parameters:
root - the Phone element
Returns:
a Phone data object
Throws:
XMLParsingException

parseOnlineResource

public OnlineResource parseOnlineResource(org.w3c.dom.Element root)
                                   throws XMLParsingException
Parameters:
root - the element containing the xlink attributes
Returns:
the OnlineResource data object
Throws:
XMLParsingException

parseCode

public Code parseCode(org.w3c.dom.Element root)
Parameters:
root - the Code element
Returns:
a Code data object

parseTypeCode

public TypeCode parseTypeCode(org.w3c.dom.Element root)
Parameters:
root - the Type element
Returns:
the TypeCode data object

parseRoleCode

public RoleCode parseRoleCode(org.w3c.dom.Element root)
Parameters:
root - the Role element
Returns:
the RoleCode data object

parseConstraint

public Constraints parseConstraint(org.w3c.dom.Element root,
                                   java.lang.String fee)
                            throws XMLParsingException
Parameters:
root - the AccessConstraints element
fee -
Returns:
the Constraints object containing the parsed data
Throws:
XMLParsingException

parseKeywords

public Keywords parseKeywords(org.w3c.dom.Element root)
                       throws XMLParsingException
Parameters:
root - the Keywords element
Returns:
the Keywords object
Throws:
XMLParsingException

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org