public class GoverningAgreementRef extends ACElement
Generation
element in the Liberty authentication context namespace (http://projectliberty.org/schemas/authctx/2002/05).authenticationContextClass
Constructor and Description |
---|
GoverningAgreementRef(org.w3c.dom.Document owner, AuthenticationContextStatement acs)
Creates a new
GoverningAgreementRef instance in the given document with the given authentication context. |
GoverningAgreementRef(org.w3c.dom.Document owner, AuthenticationContextStatement acs, java.lang.String ref)
Creates a new
GoverningAgreementRef instance in the given document with the given authentication context. |
GoverningAgreementRef(org.w3c.dom.Element element, AuthenticationContextStatement acs)
Creates a new
GoverningAgreementRef object that wraps the given Element object. |
GoverningAgreementRef(org.w3c.dom.Element element, java.lang.String systemId, AuthenticationContextStatement acs)
Creates a new
GoverningAgreementRef object that wraps the given Element object. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRef()
Returns the
ref attribute for this Generation element, or null if none has been set. |
void |
setRef(java.lang.String uri)
Sets the
ref attribute for this Generation element. |
getAuthenticationContextClass, setAuthenticationContextClass
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML
public GoverningAgreementRef(org.w3c.dom.Element element, AuthenticationContextStatement acs)
GoverningAgreementRef
object that wraps the given Element object.element
- The underlying org.w3c.dom.Element
object.acs
- The authentication context for the element.public GoverningAgreementRef(org.w3c.dom.Element element, java.lang.String systemId, AuthenticationContextStatement acs)
GoverningAgreementRef
object that wraps the given Element object.element
- The underlying org.w3c.dom.Element
object.systemId
- The URI string system ID for the GoverningAgreementRef
.acs
- The authentication context for the element.public GoverningAgreementRef(org.w3c.dom.Document owner, AuthenticationContextStatement acs)
GoverningAgreementRef
instance in the given document with the given authentication context.owner
- The owner document for this new element.acs
- The authentication context for this new element.public GoverningAgreementRef(org.w3c.dom.Document owner, AuthenticationContextStatement acs, java.lang.String ref) throws AuthenticationContextException
GoverningAgreementRef
instance in the given document with the given authentication context.owner
- The owner document for this new element.acs
- The authentication context for this new element.ref
- The ref
attribute.AuthenticationContextException
- If the ref
value is invalid for this element's authentication context class.public void setRef(java.lang.String uri) throws AuthenticationContextException
ref
attribute for this Generation
element.uri
- The attribute value.AuthenticationContextException
- If the ref
value is invalid for this element's authentication context class.public java.lang.String getRef()
ref
attribute for this Generation
element, or null
if none has been set.