public abstract class Condition extends XMLElement
Sub-classes will extend this class to define new conditions and should use the xsi:type attribute to indicate the derived type.
Modifier | Constructor and Description |
---|---|
protected |
Condition(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
Creates a new
Condition instance. |
protected |
Condition(org.w3c.dom.Element element)
Creates a new
Condition instance from the given Element node. |
protected |
Condition(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
Condition instance from the given Element node. |
Modifier and Type | Method and Description |
---|---|
protected QName |
getXsiType()
Returns the XML Schema xsi:type attribute to identify the saml:condition
|
protected void |
setXsiType(QName type)
Set the XML Schema xsi:type attribute to identify the saml:condition.
|
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
protected Condition(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
Condition
instance from the given Element node.element
- A Condition element.org.w3c.dom.DOMException
protected Condition(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
Condition
instance from the given Element node.element
- A Condition element.systemId
- The URI string system ID for the Condition
.org.w3c.dom.DOMException
protected Condition(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) throws org.w3c.dom.DOMException
Condition
instance. This is for use in any sub-class for extension of the Condition element.owner
- The owner document of the new Condition.nsURI
- The namespace URI in which the new Condition is to be created.localName
- The localName of the element represented by the class that extends this class.org.w3c.dom.DOMException
protected void setXsiType(QName type)
type
- The QName
reference.protected QName getXsiType()
QName
reference or null
if not specified.