gov.virginia.dcjs.identity.saml
Class Attribute

java.lang.Object
  extended bygov.virginia.dcjs.ws.Element
      extended bygov.virginia.dcjs.identity.saml.Attribute
All Implemented Interfaces:
AttributeType, org.apache.soap.util.xml.Serializer, XmlElement

public class Attribute
extends Element
implements AttributeType

Use this class to identify an attribute by name and optionally include its values.


Constructor Summary
Attribute(java.lang.String name)
           
 
Method Summary
 void addValue(java.lang.String value)
           
 void setAny(java.lang.String name, java.lang.String value)
          Provide an arbitrary tag attribute name:value pair.
 void setFriendlyName(java.lang.String name)
           
 void setNameFormat(java.lang.String uri)
           
 
Methods inherited from class gov.virginia.dcjs.ws.Element
addAttribute, addElement, arrayAppend, declareNamespaces, getNamespaces, marshall, removeAttribute, removeElement, setContent, toString, toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface gov.virginia.dcjs.ws.XmlElement
declareNamespaces, getNamespaces, toXml
 

Constructor Detail

Attribute

public Attribute(java.lang.String name)
Parameters:
name - Attribute name
Method Detail

setNameFormat

public void setNameFormat(java.lang.String uri)
Parameters:
uri - xs:anyUri Format of name attribute

setFriendlyName

public void setFriendlyName(java.lang.String name)
Parameters:
name - Human readable name of attribute

setAny

public void setAny(java.lang.String name,
                   java.lang.String value)
Provide an arbitrary tag attribute name:value pair.

Parameters:
name - Name of arbitrary attribute to include.
value - Value of arbitrary attribute.

addValue

public void addValue(java.lang.String value)