org.eclipse.higgins.util.saml
Class SAMLAttribute
java.lang.Object
org.eclipse.higgins.util.saml.XMLElement
org.eclipse.higgins.util.saml.SAMLAttribute
- public class SAMLAttribute
- extends XMLElement
Basic container for a saml attribute
The element parsed should be the saml attribute.
| 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 |
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
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