com.cysols.iodef.rid.element
Class NPPath

java.lang.Object
  extended by com.cysols.iodef.IElement
      extended by com.cysols.iodef.rid.element.NPPath

public class NPPath
extends IElement

This class represents to NPPath element.

Author:
cysol

Field Summary
 
Fields inherited from class com.cysols.iodef.IElement
attributeList, elementcreator, elementsMap, myName
 
Method Summary
 void addEmailValue(String value)
          Adds the specified vlaue with the value of Email node.
 void addNPPath(NPPath path)
          Adds the specified NPPath element
 void addRegistryHandleRegistrytype(String type)
          Adds the specified type with the RegistryHandle element.
 void addTelephoneValue(String value)
          Adds the specified vlaue with the value of Telephone node.
 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 value of name node, reutrns null if it doesn't exist.
 Node getNode()
          Returns the node element.
 NPPath[] getNPPaths()
          Returns the array of NPPath element.
 String[] getRegistryHandleRegistrytypes()
          Returns the array of registory type of RegistryHandle element.
 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 setFaxValue(String value)
          Sets the specified value with Fax node.
 void setNameValue(String value)
          Sets the value of name node.
 void setNode(Node node)
          Sets the specified node elment.
 void setRestriction(String value)
          Sets the specified restriction value.
 void setTimezoneValue(String value)
          Sets the specified value with Timezone node.
 
Methods inherited from class com.cysols.iodef.IElement
addElement, addElementValue, createAttribute, createDomElement, createrElement, getAttribute, getAttributeNames, getAttributes, getAttributeValue, getAttributeValue, getAttributeValueINS, getAttributeValuesINS, getElementList, getElementName, getElements, getElements, getElements, getElementsINS, getElementsValue, getElementValue, getNameSpace, getValue, removeAttribute, removeAttribute, removeElements, setAttribute, setAttribute, setAttribute, setAttributeINS, setElementINS, setElementsINS, setElementValue, setNameSpace, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setNameValue

public void setNameValue(String value)
Sets the value of name node.

Parameters:
value - - the value of name node.

getNameValue

public String getNameValue()
Returns the value of name node, reutrns null if it doesn't exist.

Returns:
the value of name node.

addRegistryHandleRegistrytype

public void addRegistryHandleRegistrytype(String type)
Adds the specified type with the RegistryHandle element.

Parameters:
type - the registry type of RegistryHandle element

getRegistryHandleRegistrytypes

public String[] getRegistryHandleRegistrytypes()
Returns the array of registory type of RegistryHandle element. reutrns null if they doesn't exist.

Returns:
the array of registory type of RegistryHandle element.

setNode

public void setNode(Node node)
Sets the specified node elment.

Parameters:
node - - the node element.

getNode

public Node getNode()
Returns the node element. return null if it doesn't exist.

Returns:
the node elment.

addEmailValue

public void addEmailValue(String value)
Adds the specified vlaue with the value of Email node.

Parameters:
value - the mail address

getEmailValues

public String[] getEmailValues()
Returns the array of value of Email node, reutrns null if they doesn't exist.

Returns:
the array of value of Email node.

addTelephoneValue

public void addTelephoneValue(String value)
Adds the specified vlaue with the value of Telephone node.

Parameters:
value - the telephone number

getTelephoneValues

public String[] getTelephoneValues()
Returns the array of value of Telephone node, reutrns null if they doesn't exist.

Returns:
the array of value of Telephone node.

setFaxValue

public void setFaxValue(String value)
Sets the specified value with Fax node.

Parameters:
value - the fax number

getFaxValue

public String getFaxValue()
Returns the value of Fax node, reutrns null if it doesn't exist.

Returns:
the value Fax node

setTimezoneValue

public void setTimezoneValue(String value)
Sets the specified value with Timezone node.

Parameters:
value - the timezone

getTimezoneValue

public String getTimezoneValue()
Returns the value of Timezone node, reutrns null if it doesn't exist.

Returns:
the value of Timezone node,

addNPPath

public void addNPPath(NPPath path)
Adds the specified NPPath element

Parameters:
path - NPPath element

getNPPaths

public NPPath[] getNPPaths()
Returns the array of NPPath element. reutrns null if they doesn't exist.

Returns:
the array of NPPath element.

setRestriction

public void setRestriction(String value)
Sets the specified restriction value.

Parameters:
value - restriction value

getRestriction

public String getRestriction()
Returns the restriction value. reutrns null if it doesn't exist.

Returns:
the restriction value.