|
Oracle Security Developer Tools SAML 2.0 Java API Reference 11g (11.1.1) E10676-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.util.XMLNode
oracle.security.xmlsec.util.XMLElement
oracle.security.xmlsec.saml2.metadata.ContactPerson
public class ContactPerson
Represents the ContactPerson
metadata element.
Field Summary |
---|
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
---|
node, systemId |
Constructor Summary | |
---|---|
|
ContactPerson(org.w3c.dom.Document owner) Creates a new ContactPerson instance. |
protected |
ContactPerson(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) Creates a new ContactPerson instance. |
|
ContactPerson(org.w3c.dom.Element element) Creates a new ContactPerson instance from the given Element node. |
|
ContactPerson(org.w3c.dom.Element element, java.lang.String systemId) Creates a new ContactPerson instance from the given Element node. |
Method Summary | |
---|---|
void |
addEmailAddress(java.lang.String address) Sets the address. |
void |
addTelephoneNumber(java.lang.String number) Adds a telephhone number. |
java.lang.String |
getAttributeNS(java.lang.String namespaceURI, java.lang.String localName) Retrieves an attribute value by local name and namespace URI. |
java.lang.String |
getCompany() Returns the company name. |
Contact |
getContactType() Returns the type of contact. |
java.util.List |
getEmailAddresses() Returns the address. |
Extensions |
getExtensions() Returns the metadata extension. |
java.lang.String |
getGivenName() Returns the given name. |
java.lang.String |
getSurName() Returns the surname. |
java.util.List |
getTelephoneNumbers() Returns the Telephone Number List. |
void |
setAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName, java.lang.String value) Specify an arbitrary attribute. |
void |
setCompany(java.lang.String company) Sets the company name. |
void |
setContactType(Contact ct) Sets the type of contact. |
void |
setExtensions(Extensions extension) Sets the metadata extension. |
void |
setGivenName(java.lang.String givenName) Sets the given name. |
void |
setSurName(java.lang.String surname) Sets the surname. |
Methods inherited from class oracle.security.xmlsec.util.XMLElement |
---|
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setDefaultNSPrefix |
Methods inherited from class oracle.security.xmlsec.util.XMLNode |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContactPerson(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
ContactPerson
instance from the given Element node.
element
- An ContactPerson element.org.w3c.dom.DOMException
public ContactPerson(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
ContactPerson
instance from the given Element node.
element
- An ContactPerson element.systemId
- The URI string system ID for the ContactPerson
.org.w3c.dom.DOMException
public ContactPerson(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
ContactPerson
instance.
owner
- The owner document of the new ContactPerson.org.w3c.dom.DOMException
protected ContactPerson(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) throws org.w3c.dom.DOMException
ContactPerson
instance. This constructor is for use in subclass for extension of the ContactPerson element.
owner
- The owner document of the new ContactPerson.nsURI
- The namespace URI in which the new ContactPerson is to be created.localName
- The localName of the element represented by the class that extends this class.org.w3c.dom.DOMException
Method Detail |
---|
public void setContactType(Contact ct)
ct
- A Contact
object.public Contact getContactType()
Contact
object.public void setExtensions(Extensions extension)
extension
- A Extensions
object.public Extensions getExtensions()
Extension
object or null
if none has been set.public void setCompany(java.lang.String company)
company
- A String.public java.lang.String getCompany()
public void setGivenName(java.lang.String givenName)
givenName
- A String.public java.lang.String getGivenName()
public void setSurName(java.lang.String surname)
surname
- A String.public java.lang.String getSurName()
public void addEmailAddress(java.lang.String address)
address
- A String.public java.util.List getEmailAddresses()
public void addTelephoneNumber(java.lang.String number)
number
- A String.public java.util.List getTelephoneNumbers()
List
of String
objects or null
if none were found.public void setAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName, java.lang.String value)
setAttributeNS
in class oracle.security.xmlsec.util.XMLElement
namespaceURI
- The namespace URI of the attribute.qualifiedName
- The qualified name of the attribute.value
- The attribute value to set.public java.lang.String getAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
getAttributeNS
in class oracle.security.xmlsec.util.XMLElement
namespaceURI
- The namespace URI of the attribute.localName
- The local name of the attribute.
|
Oracle Security Developer Tools SAML 2.0 Java API Reference 11g (11.1.1) E10676-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |