public class AudienceRestriction extends Condition
Modifier | Constructor and Description |
---|---|
|
AudienceRestriction(org.w3c.dom.Document owner)
Creates a new
AudienceRestriction instance within the given Document. |
|
AudienceRestriction(org.w3c.dom.Document owner, java.lang.String uri)
Creates a new
AudienceRestriction instance within the given Document. |
protected |
AudienceRestriction(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
Creates a new
AudienceRestriction instance. |
|
AudienceRestriction(org.w3c.dom.Element element)
Creates a new
AudienceRestriction instance from the given Element node. |
|
AudienceRestriction(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
AudienceRestriction 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.
|
getXsiType, setXsiType
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 AudienceRestriction(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
AudienceRestriction
instance from the given Element node.element
- An AudienceRestriction element.org.w3c.dom.DOMException
public AudienceRestriction(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
AudienceRestriction
instance from the given Element node.element
- An AudienceRestriction element.systemId
- The URI string system ID for the AudienceRestriction
.org.w3c.dom.DOMException
public AudienceRestriction(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
AudienceRestriction
instance within the given Document.owner
- The owner document of the new AudienceRestriction.org.w3c.dom.DOMException
public AudienceRestriction(org.w3c.dom.Document owner, java.lang.String uri) throws org.w3c.dom.DOMException
AudienceRestriction
instance within the given Document.owner
- The owner document of the new AudienceRestriction.uri
- An intendend audience.org.w3c.dom.DOMException
protected AudienceRestriction(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) throws org.w3c.dom.DOMException
AudienceRestriction
instance. For use by classes extending the saml:AudienceRestriction 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.DOMException
public void addAudience(java.lang.String uri)
uri
- A URI
representing an audience.public java.util.List getAudiences()
List
containing String objects representing URI
s. These URI
s define audiences.