com.cysols.iodef.rid.element
Class IPPacket

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

public class IPPacket
extends IElement

This class represents to IPPacket element.

Author:
cysol

Field Summary
 
Fields inherited from class com.cysols.iodef.IElement
attributeList, elementcreator, elementsMap, myName
 
Method Summary
 void addIPPacket(IPPacket packet)
          Adds the specified IPPacket element
 String getHexPacketValue()
          Returns the value of HexPacket node, reutrns null if it doesn't exist.
 IPPacket[] getIPPackets()
          Returns the array of IPPacket element.
 String getIPVersionValue()
          Returns the value of IPVersion node, reutrns null if it doesn't exist.
 String getRestriction()
          Returns the restriction value.
 void setHexPacketValue(String value)
          Sets the value with the value of HexPacket node.
 void setIPVersionValue(String value)
          Sets the value with the value of IPVersion node.
 void setRestriction(String value)
          Sets the specified restriction value.
 
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

setIPVersionValue

public void setIPVersionValue(String value)
Sets the value with the value of IPVersion node.

Parameters:
value - - the vlaue of IPVersion node.

getIPVersionValue

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

Returns:
the value of IPVersion node.

setHexPacketValue

public void setHexPacketValue(String value)
Sets the value with the value of HexPacket node.

Parameters:
value - - the vlaue of HexPacket node.

getHexPacketValue

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

Returns:
the value of HexPacket node.

addIPPacket

public void addIPPacket(IPPacket packet)
Adds the specified IPPacket element

Parameters:
packet - - IPPacket element

getIPPackets

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

Returns:
the array of IPPacket 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.