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

org.deegree.ogcwebservices.wass.common
Class AuthenticationDocument

java.lang.Object
  extended by org.deegree.framework.xml.XMLFragment
      extended by org.deegree.ogcwebservices.wass.common.AuthenticationDocument
All Implemented Interfaces:
java.io.Serializable

public class AuthenticationDocument
extends XMLFragment

Parser class that can parse all elements within the namespace. Namespace: http://www.gdi-nrw.de/authentication

Since:
2.0
Version:
2.0, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Rutger Bezema, 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
AuthenticationDocument()
           
 
Method Summary
 AuthenticationData parseAuthenticationData(org.w3c.dom.Node elem)
          Parses an AuthenticationData element
 URN parseAuthenticationMethod(org.w3c.dom.Node elem)
          Parses an AuthenticationMethod.
 java.lang.String parseCredentials(org.w3c.dom.Node elem)
          Parses a Credentials element.
 SupportedAuthenticationMethod parseSupportedAuthenticationMethod(org.w3c.dom.Node elem)
          Parses a SupportedAuthenticationMethod element.
 java.util.ArrayList<SupportedAuthenticationMethod> parseSupportedAuthenticationMethodList(org.w3c.dom.Element listRoot)
          Parses a SupportedAuthenticationMethodList element.
 java.lang.String parseUnknownMethodMetadata(org.w3c.dom.Node elem)
          Parses an UnknownMethodMetadata element.
 WASAuthenticationMethodMD parseWASAuthenticationMethodMD(org.w3c.dom.Node elem)
          Parses a WASAuthenticationMethodMD 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
 

Constructor Detail

AuthenticationDocument

public AuthenticationDocument()
Method Detail

parseSupportedAuthenticationMethodList

public java.util.ArrayList<SupportedAuthenticationMethod> parseSupportedAuthenticationMethodList(org.w3c.dom.Element listRoot)
                                                                                          throws java.net.MalformedURLException,
                                                                                                 XMLParsingException
Parses a SupportedAuthenticationMethodList element.

Parameters:
listRoot - the list element
Returns:
an ArrayList with the parsed methods
Throws:
java.net.MalformedURLException
XMLParsingException

parseSupportedAuthenticationMethod

public SupportedAuthenticationMethod parseSupportedAuthenticationMethod(org.w3c.dom.Node elem)
                                                                 throws XMLParsingException,
                                                                        java.net.MalformedURLException
Parses a SupportedAuthenticationMethod element.

Parameters:
elem - the element
Returns:
the parsed data
Throws:
XMLParsingException
java.net.MalformedURLException

parseAuthenticationMethod

public URN parseAuthenticationMethod(org.w3c.dom.Node elem)
                              throws XMLParsingException
Parses an AuthenticationMethod.

Parameters:
elem - the AuthenticationMethod element
Returns:
an URN with the method
Throws:
XMLParsingException

parseUnknownMethodMetadata

public java.lang.String parseUnknownMethodMetadata(org.w3c.dom.Node elem)
                                            throws XMLParsingException
Parses an UnknownMethodMetadata element.

Parameters:
elem - the element
Returns:
a String with the data
Throws:
XMLParsingException

parseWASAuthenticationMethodMD

public WASAuthenticationMethodMD parseWASAuthenticationMethodMD(org.w3c.dom.Node elem)
                                                         throws XMLParsingException,
                                                                java.net.MalformedURLException
Parses a WASAuthenticationMethodMD element.

Parameters:
elem - the element
Returns:
an object with the parsed data
Throws:
XMLParsingException
java.net.MalformedURLException

parseAuthenticationData

public AuthenticationData parseAuthenticationData(org.w3c.dom.Node elem)
                                           throws XMLParsingException
Parses an AuthenticationData element

Parameters:
elem - the element
Returns:
an object with the parsed data
Throws:
XMLParsingException

parseCredentials

public java.lang.String parseCredentials(org.w3c.dom.Node elem)
                                  throws XMLParsingException
Parses a Credentials element.

Parameters:
elem - the element
Returns:
a String containing the data
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