eu.xtreemos.xosd.execMng.data
Class JSDLInfo
java.lang.Object
eu.xtreemos.xosd.execMng.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(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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
private java.util.Hashtable<java.lang.String,java.lang.Object> data
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
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