public class ProxyRestriction extends Condition
| Modifier | Constructor and Description |
|---|---|
|
ProxyRestriction(org.w3c.dom.Document owner)
Creates a new
ProxyRestriction instance within the given Document. |
protected |
ProxyRestriction(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
Creates a new
ProxyRestriction instance. |
|
ProxyRestriction(org.w3c.dom.Element element)
Creates a new
ProxyRestriction instance from the given Element node. |
|
ProxyRestriction(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
ProxyRestriction instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
void |
addAudience(java.lang.String uri)
Adds an intended audience.
|
java.util.List |
getAudiences()
Returns the list of intended audiences.
|
int |
getCount()
Returns the maximum number of indirections permitted by the asserting party.
|
void |
setCount(int count)
Specify the maximum number of indirections permitted by the asserting party.
|
getXsiType, setXsiTypeaddNSPrefixAttr, 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, setDefaultNSPrefixappendChild, 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 ProxyRestriction(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
ProxyRestriction instance from the given Element node.element - An ProxyRestriction element.org.w3c.dom.DOMException
public ProxyRestriction(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
ProxyRestriction instance from the given Element node.element - An ProxyRestriction element.systemId - The URI string system ID for the ProxyRestriction.org.w3c.dom.DOMException
public ProxyRestriction(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
ProxyRestriction instance within the given Document.owner - The owner document of the new ProxyRestriction.org.w3c.dom.DOMException
protected ProxyRestriction(org.w3c.dom.Document owner,
java.lang.String nsURI,
java.lang.String localName)
throws org.w3c.dom.DOMException
ProxyRestriction instance. For use by classes extending the saml:ProxyRestriction element.owner - The owner document of the new element.nsURI - The namespace in which the new element is to be created.localName - The localName of the element.org.w3c.dom.DOMExceptionpublic void addAudience(java.lang.String uri)
uri - A URI representing an audience.public java.util.List getAudiences()
List containing String objects representing URIs. These URIs define audiences.public void setCount(int count)
count - A non-negative integer.public int getCount()
0 if an invalid value is present.