public class Evidence extends XMLElement
Constructor and Description |
---|
Evidence(org.w3c.dom.Document owner)
Creates a new
Evidence instance. |
Evidence(org.w3c.dom.Element element)
Creates a new
Evidence instance from the given Element node. |
Evidence(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
Evidence instance from the given Element node. |
Modifier and Type | Method and Description |
---|---|
void |
addAssertion(Assertion assertion)
Adds an assertion.
|
void |
addAssertionIDReference(java.lang.String id)
Adds an assertion ID reference which specifies an assertion by reference to the value of assertion's AssertionID attribute.
|
void |
addAssertionURIReference(java.lang.String uri)
Adds an URI reference to an assertion.
|
void |
addEncryptedAssertion(EncryptedAssertion assertion)
Adds an encrypted assertion.
|
java.util.List |
getAssertionIDReferences()
Returns the list of assertion IDs.
|
java.util.List |
getAssertions()
Returns the list of assertions.
|
java.util.List |
getAssertionURIReferences()
Returns the list of assertion URI references.
|
java.util.List |
getEncryptedAssertions()
Gets the list of encrypted assertions.
|
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 Evidence(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
Evidence
instance from the given Element node.element
- An Evidence element.org.w3c.dom.DOMException
public Evidence(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
Evidence
instance from the given Element node.element
- An Evidence element.systemId
- The URI string system ID for the Evidence
.org.w3c.dom.DOMException
public Evidence(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
Evidence
instance.owner
- The owner document of the new Evidence.org.w3c.dom.DOMException
public void addAssertionIDReference(java.lang.String id)
id
- An ID referencing an assertion involved in the decision of the issuer.public java.util.List getAssertionIDReferences()
List
containing String objects representing IDs or an empty List
if no ID has been added.public void addAssertionURIReference(java.lang.String uri)
uri
- A URI reference to an assertion involved in the decision of the issuer.public java.util.List getAssertionURIReferences()
List
containing String objects representing URIs or an empty List
if no URI has been added.public void addAssertion(Assertion assertion)
assertion
- An assertion involved in the decision of the issuer.public java.util.List getAssertions()
List
containing Assertion objects or an empty List
if no Assertion has been added.public void addEncryptedAssertion(EncryptedAssertion assertion)
assertion
- An encrypted assertion involved in the decision of the issuer.public java.util.List getEncryptedAssertions()
List
containing EncryptedAssertion objects or an empty List
if no EncryptedAssertion has been added.