|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cysols.iodef.IElement
com.cysols.iodef.element.Contact
public class Contact
This class represents to Contact element.
| Field Summary |
|---|
| Fields inherited from class com.cysols.iodef.IElement |
|---|
attributeList, elementcreator, elementsMap, myName |
| Method Summary | |
|---|---|
void |
addContanct(Contact con)
Adds the specified contact element |
void |
addDescriptionValue(String descr)
Adds the specified desciption value. |
void |
addEmailValue(String value)
Adds the specified vlaue with the value of Email node. |
void |
addRegistryHandleValue(String value)
Adds the RegistryHandle node with the specified value. |
void |
addRegistryHandleValue(String value,
String type)
Adds the RegistryHandle node with the specified values. |
void |
addTelephoneValue(String value)
Adds the specified vlaue with the value of Telephone node. |
String |
getContactRole()
Returns the contact role. |
Contact[] |
getContacts()
Returns the array of Contact value. |
String |
getContactType()
Returns the contact type. |
String[] |
getDescriptionValues()
Returns the array of description value. |
String[] |
getEmailValues()
Returns the array of value of Email node, reutrns null if they doesn't exist. |
String |
getFaxValue()
Returns the value of Fax node, reutrns null if it doesn't exist. |
String |
getNameValue()
Returns the name value from Name element. |
String |
getPostalAddressValue()
Returns the value of PostalAddress node. |
String[] |
getRegistryHandleValues()
Returns the array of value of RegistryHandle node. |
String |
getRestriction()
Returns the restriction value. |
String[] |
getTelephoneValues()
Returns the array of value of Telephone node, reutrns null if they doesn't exist. |
String |
getTimezoneValue()
Returns the value of Timezone node, reutrns null if it doesn't exist. |
void |
setContactRole(String value)
Sets the contact role. |
void |
setContactType(String value)
Sets the contact type |
void |
setFaxValue(String value)
Sets the specified value with Fax node. |
void |
setNameValue(String value)
Creates a name element with the specified value. |
void |
setNameValue(String value,
String preserve,
String transform,
String lang)
Creates a name element with the specified values. |
void |
setPostalAddressValue(String value)
Sets the PostalAddress node with the specified value. |
void |
setPostalAddressValue(String value,
String lang)
Sets the PostalAddress node with the specified value. |
void |
setRestriction(String value)
Sets the specified restriction value. |
void |
setTimezoneValue(String value)
Sets the specified value with Timezone node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setNameValue(String value)
value - - name value
public void setNameValue(String value,
String preserve,
String transform,
String lang)
value - name valuepreserve - transform - lang - public String getNameValue()
public void addDescriptionValue(String descr)
descr - - desciption valuepublic String[] getDescriptionValues()
public void addRegistryHandleValue(String value)
value - value of RegistryHandle node
public void addRegistryHandleValue(String value,
String type)
value - value of RegistryHandle nodetype - the dtype of RegistryHandle nodepublic String[] getRegistryHandleValues()
public void setPostalAddressValue(String value)
value - the value of PostalAddress node
public void setPostalAddressValue(String value,
String lang)
value - the value of PostalAddress nodelang - the lang attribute of PostalAddress nodepublic String getPostalAddressValue()
public void addEmailValue(String value)
value - the mail addresspublic String[] getEmailValues()
public void addTelephoneValue(String value)
value - the telephone numberpublic String[] getTelephoneValues()
public void setFaxValue(String value)
value - the fax numberpublic String getFaxValue()
public void setTimezoneValue(String value)
value - the timezonepublic String getTimezoneValue()
public void addContanct(Contact con)
con - - contact elementpublic Contact[] getContacts()
public String getContactRole()
public void setContactRole(String value)
value - the contact role.public String getContactType()
public void setContactType(String value)
value - the contact typepublic void setRestriction(String value)
value - - restriction valuepublic String getRestriction()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||