public class AudienceRestrictionCondition extends Condition
| Constructor and Description |
|---|
AudienceRestrictionCondition(org.w3c.dom.Document owner)
Creates a new
AudienceRestrictionCondition instance
within the given Document. |
AudienceRestrictionCondition(org.w3c.dom.Element element)
Creates a new
AudienceRestrictionCondition instance from the
given Element node. |
AudienceRestrictionCondition(org.w3c.dom.Element element,
java.lang.String SystemId)
Creates a new
AudienceRestrictionCondition 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 |
getAudienceRestrictionConditions()
Deprecated.
Use
getAudiences(). |
java.util.List |
getAudiences()
Returns the list of intended audiences.
|
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, 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, toStringXMLpublic AudienceRestrictionCondition(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
AudienceRestrictionCondition instance from the
given Element node.element - An AudienceRestrictionCondition element.org.w3c.dom.DOMExceptionpublic AudienceRestrictionCondition(org.w3c.dom.Element element,
java.lang.String SystemId)
throws org.w3c.dom.DOMException
AudienceRestrictionCondition instance from the
given Element node.element - An AudienceRestrictionCondition element.SystemId - The URI string system ID for the AudienceRestrictionCondition.org.w3c.dom.DOMExceptionpublic AudienceRestrictionCondition(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
AudienceRestrictionCondition instance
within the given Document.owner - The owner document of the new AudienceRestrictionCondition.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 java.util.List getAudienceRestrictionConditions()
getAudiences().List containing String objects representing
URIs. These URIs define audiences.