hr.fer.tel.nims.dsa.server.serviceprofilehandler
Class XmlElement

java.lang.Object
  extended by hr.fer.tel.nims.dsa.server.serviceprofilehandler.XmlElement

public class XmlElement
extends java.lang.Object

Author:
Mirko Suznjevic

Constructor Summary
XmlElement(java.lang.String tagName, java.lang.String tagValue, java.util.ArrayList tagAttributes, java.util.ArrayList tagAttributesValues)
          XmlElement class simbolizes one xml tag with tag name, tag value, attributes and their values
 
Method Summary
 java.util.ArrayList getTagAttributes()
          returning tagAttributes
 java.util.ArrayList getTagAttributesValues()
          returning tagAttributesValues
 java.lang.String getTagName()
          returning tagName
 java.lang.String getTagValue()
          returning tagValue
 void setTagAttributes(java.util.ArrayList tagAttributes)
          setting tagAttributes
 void setTagAttributesValues(java.util.ArrayList tagAttributesValues)
          setting tagAttributesValues
 void setTagName(java.lang.String tagName)
          setting tagName
 void setTagValue(java.lang.String tagValue)
          setting tagValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlElement

public XmlElement(java.lang.String tagName,
                  java.lang.String tagValue,
                  java.util.ArrayList tagAttributes,
                  java.util.ArrayList tagAttributesValues)
XmlElement class simbolizes one xml tag with tag name, tag value, attributes and their values

Parameters:
args -
tagName - name of the xml tag
tagValue - value of the xml tag
tagAttributes - names of attributes
tagAttributesValues - values of attributes
Method Detail

setTagName

public void setTagName(java.lang.String tagName)
setting tagName

Parameters:
tagName - name of the xml tag

setTagValue

public void setTagValue(java.lang.String tagValue)
setting tagValue

Parameters:
tagValue - value of the xml tag

setTagAttributes

public void setTagAttributes(java.util.ArrayList tagAttributes)
setting tagAttributes

Parameters:
tagAttributes - names of attributes

setTagAttributesValues

public void setTagAttributesValues(java.util.ArrayList tagAttributesValues)
setting tagAttributesValues

Parameters:
tagAttributesValues - values of attributes

getTagName

public java.lang.String getTagName()
returning tagName

Returns:
tagName name of the xml tag

getTagValue

public java.lang.String getTagValue()
returning tagValue

Returns:
tagValue value of the xml tag

getTagAttributes

public java.util.ArrayList getTagAttributes()
returning tagAttributes

Returns:
tagAttributes attributes of the xml tag

getTagAttributesValues

public java.util.ArrayList getTagAttributesValues()
returning tagAttributesValues

Returns:
tagAttributesValues values of attributes of the xml tag