eu.xtreemos.xosd.jobmng.data
Class JSDLInfo

java.lang.Object
  extended by eu.xtreemos.xosd.jobmng.data.JSDLInfo

public class JSDLInfo
extends java.lang.Object

Author:
martag

Field Summary
private  java.util.Hashtable<java.lang.String,java.lang.Object> data
           
 
Constructor Summary
JSDLInfo()
           
JSDLInfo(java.lang.String jsdlFile)
           
 
Method Summary
 java.lang.String getElem(java.lang.String attr)
          Gets the first value of the given attribute
 java.util.ArrayList getList(java.lang.String attr)
          Gets the values of the given attribute
 void setData(java.util.Hashtable<java.lang.String,java.lang.Object> data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

private java.util.Hashtable<java.lang.String,java.lang.Object> data
Constructor Detail

JSDLInfo

public JSDLInfo()

JSDLInfo

public JSDLInfo(java.lang.String jsdlFile)
         throws org.xml.sax.SAXException,
                java.io.IOException
Parameters:
jsdlInfo -
Throws:
org.xml.sax.SAXException
java.io.IOException
Method Detail

getList

public java.util.ArrayList getList(java.lang.String attr)
Gets the values of the given attribute

Parameters:
String - attr: the name of the attribute to get
Returns:
The list of values of the attribute null if attribute is not found

getElem

public java.lang.String getElem(java.lang.String attr)
Gets the first value of the given attribute

Parameters:
String - attr: the name of the attribute to get
Returns:
The first value of the attribute null if attribute is not found

setData

public void setData(java.util.Hashtable<java.lang.String,java.lang.Object> data)