|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.framework.xml.XMLFragment org.deegree.owscommon_1_1_0.CommonsDocument
public class CommonsDocument
CommonsDocument
supplies helper methods for all common ows (version 1.1.0) xml elements.
Field Summary | |
---|---|
protected static java.lang.String |
PRE_OWS
The ows 1.1 prefix with a ':' (colon) suffix. |
Fields inherited from class org.deegree.framework.xml.XMLFragment |
---|
DEFAULT_URL, nsContext, XLNNS |
Constructor Summary | |
---|---|
CommonsDocument()
|
Method Summary | |
---|---|
protected BasicIdentification |
parseBasicIdentificationType(org.w3c.dom.Element basicIdentificationType)
|
protected ContactInfo |
parseContactInfo(org.w3c.dom.Element contactInfo)
|
protected Pair<java.lang.String,java.lang.String> |
parseDomainMetadataType(org.w3c.dom.Element domainMDElement)
Parses the domain metadata type and it's reference attribute and puts them in a pair, like name, reference, the latter may be null |
protected java.util.List<Pair<java.lang.String,java.lang.String>> |
parseDomainMetadataTypes(java.util.List<org.w3c.dom.Element> domainMDElements)
Parses the domain metadata type and it's reference attribute and puts them in a pair, like name, reference, which may be null |
protected DomainType |
parseDomainType(org.w3c.dom.Element domainType)
|
protected Pair<java.lang.String,java.util.List<DomainType>> |
parseHTTPChild(org.w3c.dom.Element getOrPost)
parses the post or get information beneath a http element. |
protected Pair<java.lang.String,java.lang.String> |
parseIdentifier(org.w3c.dom.Element root)
|
protected Keywords |
parseKeywords(org.w3c.dom.Element keywords)
Return the ows_1_1_0 keywords.. |
protected Metadata |
parseMetadata(org.w3c.dom.Element metadataElement)
|
protected java.util.List<Metadata> |
parseMetadatas(java.util.List<org.w3c.dom.Element> metadataElements)
|
protected java.util.List<Operation> |
parseOperations(java.util.List<org.w3c.dom.Element> operationElements)
|
protected ServiceContact |
parseServiceContact(org.w3c.dom.Element serviceContact)
|
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 java.lang.String PRE_OWS
Constructor Detail |
---|
public CommonsDocument()
Method Detail |
---|
protected java.util.List<Operation> parseOperations(java.util.List<org.w3c.dom.Element> operationElements) throws XMLParsingException
operationElements
- to be parsed.
null
XMLParsingException
protected Pair<java.lang.String,java.util.List<DomainType>> parseHTTPChild(org.w3c.dom.Element getOrPost) throws XMLParsingException
getOrPost
-
null
if attribute and elements
were not found.
XMLParsingException
protected DomainType parseDomainType(org.w3c.dom.Element domainType) throws XMLParsingException
domainType
- to parse
null
if given element is null
.
XMLParsingException
protected java.util.List<Metadata> parseMetadatas(java.util.List<org.w3c.dom.Element> metadataElements)
metadataElements
- to be parsed.
null
if
no elements were found.protected Metadata parseMetadata(org.w3c.dom.Element metadataElement) throws XMLParsingException
metadataElement
- to be parsed.
XMLParsingException
- if the abstract metadatas could not be parsed.protected java.util.List<Pair<java.lang.String,java.lang.String>> parseDomainMetadataTypes(java.util.List<org.w3c.dom.Element> domainMDElements) throws XMLParsingException
domainMDElements
-
null
if given list is null
or it
does not contain any domain elements value.
XMLParsingException
protected Pair<java.lang.String,java.lang.String> parseDomainMetadataType(org.w3c.dom.Element domainMDElement) throws XMLParsingException
domainMDElement
- to parse
null
if given element is null or it does not contain a
value.
XMLParsingException
protected ServiceContact parseServiceContact(org.w3c.dom.Element serviceContact) throws XMLParsingException
serviceContact
-
XMLParsingException
protected ContactInfo parseContactInfo(org.w3c.dom.Element contactInfo) throws XMLParsingException
contactInfo
-
null
if all underlying elements are empty.
XMLParsingException
protected BasicIdentification parseBasicIdentificationType(org.w3c.dom.Element basicIdentificationType) throws XMLParsingException
basicIdentificationType
- to be parsed.
BasicIdentification
bean representation or null
if the given element is
null
.
XMLParsingException
- if the given param can not be parsed.protected Pair<java.lang.String,java.lang.String> parseIdentifier(org.w3c.dom.Element root) throws XMLParsingException
root
- element to be parsed for the identifier.
null
if the given element is null
or if
the identifier has no value and codeSpace.
XMLParsingException
protected Keywords parseKeywords(org.w3c.dom.Element keywords) throws XMLParsingException
keywords
- element to parse from
XMLParsingException
|
deegree 2.5 (2011/06/29 09:44 build-8-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://www.deegree.org