org.eclipse.higgins.util.saml
Class SAMLAttribute

java.lang.Object
  extended byorg.eclipse.higgins.util.saml.XMLElement
      extended byorg.eclipse.higgins.util.saml.SAMLAttribute

public class SAMLAttribute
extends XMLElement

Basic container for a saml attribute The element parsed should be the saml attribute.


Nested Class Summary
 
Nested classes inherited from class org.eclipse.higgins.util.saml.XMLElement
XMLElement.VerificationException
 
Field Summary
 
Fields inherited from class org.eclipse.higgins.util.saml.XMLElement
PROVIDER_JSR105
 
Constructor Summary
SAMLAttribute()
           
SAMLAttribute(Document document)
           
SAMLAttribute(Document document, Element element)
           
SAMLAttribute(InputStream stream)
           
SAMLAttribute(Reader reader)
           
 
Method Summary
 URI getFullName()
           
 String getNameID()
           
 String getNameSpace()
           
 Vector getSimpleValues()
           
 String getValue()
          Only works on single valued strings.
 boolean isSimpleSingleValuedValue()
          Can I deal with this as just a string?
 void setNameID(String value)
           
 void setNameSpace(String value)
           
 
Methods inherited from class org.eclipse.higgins.util.saml.XMLElement
addNamespaceAttributes, createID, dump, fromXMLDate, getDocument, getElement, getID, getTextContent, hasKeyInfo, hasSignature, setID, setTextContent, sign, sign, toString, toXMLDate, verify, verifyFromKeyInfo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SAMLAttribute

public SAMLAttribute(Document document)

SAMLAttribute

public SAMLAttribute()

SAMLAttribute

public SAMLAttribute(InputStream stream)
              throws SAXException,
                     IOException

SAMLAttribute

public SAMLAttribute(Reader reader)
              throws SAXException,
                     IOException

SAMLAttribute

public SAMLAttribute(Document document,
                     Element element)
Parameters:
document -
element - the dom element representing the saml attribute
Method Detail

getNameID

public String getNameID()

setNameID

public void setNameID(String value)

getNameSpace

public String getNameSpace()
Overrides:
getNameSpace in class XMLElement

setNameSpace

public void setNameSpace(String value)

getFullName

public URI getFullName()

isSimpleSingleValuedValue

public boolean isSimpleSingleValuedValue()
Can I deal with this as just a string?

Returns:
true if the value is a single valued xsd:string

getValue

public String getValue()
Only works on single valued strings.

Returns:
String value

getSimpleValues

public Vector getSimpleValues()
Returns:
Vector of string values