asit.moa.client.id
Class ExtendedSAMLAttributeImpl

java.lang.Object
  extended byasit.moa.client.id.ExtendedSAMLAttributeImpl
All Implemented Interfaces:
ExtendedSAMLAttribute

public class ExtendedSAMLAttributeImpl
extends Object
implements ExtendedSAMLAttribute

Default-Implementation for the ExtendedSAMLAttribute interface

Author:
Sven Ainger

Constructor Summary
ExtendedSAMLAttributeImpl(Object value, String name, String nameSpace)
          Constructs a ExtendedSAMLAttributeImpl that holds information about the newly generated ExtendedSAMLAttribute
 
Method Summary
 String getName()
          The name of the SAML-Attribute.
 String getNameSpace()
          The namespace of the SAML-Attribute.
 Object getValue()
          The value of the SAML-Attribute.
 void setName(String name)
           
 void setNameSpace(String nameSpace)
           
 void setValue(Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtendedSAMLAttributeImpl

public ExtendedSAMLAttributeImpl(Object value,
                                 String name,
                                 String nameSpace)
Constructs a ExtendedSAMLAttributeImpl that holds information about the newly generated ExtendedSAMLAttribute

Parameters:
value - Object containing the value of the extended attribute
name - String containing the name of the extended element
nameSpace - String containing the namespace of the extended element
Method Detail

getName

public String getName()
Description copied from interface: ExtendedSAMLAttribute
The name of the SAML-Attribute.

Specified by:
getName in interface ExtendedSAMLAttribute
Returns:
The name of the SAML-Attribute.

setName

public void setName(String name)

getNameSpace

public String getNameSpace()
Description copied from interface: ExtendedSAMLAttribute
The namespace of the SAML-Attribute. If null the namespace "http://reference.e-government.gv.at/namespace/moa/20020822#" will be used.

Specified by:
getNameSpace in interface ExtendedSAMLAttribute
Returns:
The namespace of the SAML-Attribute or null.

setNameSpace

public void setNameSpace(String nameSpace)

getValue

public Object getValue()
Description copied from interface: ExtendedSAMLAttribute
The value of the SAML-Attribute. This must be either a org.w3c.Element or a java.lang.String object. Each other type will be ignored.
If, for example, the type of the actual SAML-Attribute is an <xsd:boolean> the value must be either the String "true" of "false". Or the <xsd:integer> number 273 has to be the String "273".

Specified by:
getValue in interface ExtendedSAMLAttribute
Returns:
The value of the SAML-Attribute.

setValue

public void setValue(Object value)

toString

public String toString()


Copyright 2007 Institut fuer Angewandte Informationsverarbeitung und Kommunikationstechnologie. All Rights Reserved.