com.cysols.iodef.element
Class Classification

java.lang.Object
  extended by com.cysols.iodef.IElement
      extended by com.cysols.iodef.element.Classification

public class Classification
extends IElement

This class is value object which represents Classification elemnet.

Author:
cysol

Field Summary
 
Fields inherited from class com.cysols.iodef.IElement
attributeList, elementcreator, elementsMap, myName
 
Method Summary
 String getNameValue()
          Returns the name value from name element.
 String getOrigin()
          Returns the origin value.
 String getRestriction()
          Returns the restriction value.
 String getUrlValue()
          Returns the url value from rul element.
 void setNameValue(String value)
          Creates the name element (not Name element) and sets the specified value to it.
 void setOrigin(String value)
          Sets the specified origin value.
 void setRestriction(String value)
          Sets the specified restriction value.
 void setUrlValue(String value)
          Creates the url element and sets the specified value to it.
 
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)
Creates the name element (not Name element) and sets the specified value to it.

Parameters:
value - - name value

getNameValue

public String getNameValue()
Returns the name value from name element.

Returns:
name value.

setUrlValue

public void setUrlValue(String value)
Creates the url element and sets the specified value to it.

Parameters:
value - - url value

getUrlValue

public String getUrlValue()
Returns the url value from rul element.

Returns:
url value.

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.

setOrigin

public void setOrigin(String value)
Sets the specified origin value.

Parameters:
value - - origin value

getOrigin

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

Returns:
the origin value.