deegree 2.3 (2010/04/09 10:10 build-4-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:
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(Node elem)
          Parses an AuthenticationData element
 URN parseAuthenticationMethod(Node elem)
          Parses an AuthenticationMethod.
 String parseCredentials(Node elem)
          Parses a Credentials element.
 SupportedAuthenticationMethod parseSupportedAuthenticationMethod(Node elem)
          Parses a SupportedAuthenticationMethod element.
 ArrayList<SupportedAuthenticationMethod> parseSupportedAuthenticationMethodList(Element listRoot)
          Parses a SupportedAuthenticationMethodList element.
 String parseUnknownMethodMetadata(Node elem)
          Parses an UnknownMethodMetadata element.
 WASAuthenticationMethodMD parseWASAuthenticationMethodMD(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 ArrayList<SupportedAuthenticationMethod> parseSupportedAuthenticationMethodList(Element listRoot)
                                                                                throws MalformedURLException,
                                                                                       XMLParsingException
Parses a SupportedAuthenticationMethodList element.

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

parseSupportedAuthenticationMethod

public SupportedAuthenticationMethod parseSupportedAuthenticationMethod(Node elem)
                                                                 throws XMLParsingException,
                                                                        MalformedURLException
Parses a SupportedAuthenticationMethod element.

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

parseAuthenticationMethod

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

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

parseUnknownMethodMetadata

public String parseUnknownMethodMetadata(Node elem)
                                  throws XMLParsingException
Parses an UnknownMethodMetadata element.

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

parseWASAuthenticationMethodMD

public WASAuthenticationMethodMD parseWASAuthenticationMethodMD(Node elem)
                                                         throws XMLParsingException,
                                                                MalformedURLException
Parses a WASAuthenticationMethodMD element.

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

parseAuthenticationData

public AuthenticationData parseAuthenticationData(Node elem)
                                           throws XMLParsingException
Parses an AuthenticationData element

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

parseCredentials

public String parseCredentials(Node elem)
                        throws XMLParsingException
Parses a Credentials element.

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

deegree 2.3 (2010/04/09 10:10 build-4-official)

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