sonification.dataimport.visbards_resourcetoolkit.repository.resource
Class ResourceInfoBase

java.lang.Object
  extended by sonification.dataimport.visbards_resourcetoolkit.repository.resource.ResourceInfoBase
Direct Known Subclasses:
ResourceInfoASCII, ResourceInfoCdf

public class ResourceInfoBase
extends java.lang.Object


Field Summary
protected  java.lang.String fCentricity
           
protected  java.lang.String fExtension
           
protected  java.lang.String fName
           
protected  java.lang.String fWsName
           
 
Constructor Summary
ResourceInfoBase(org.jdom.Element root, java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCentricity()
          Returns the centricity string
 java.lang.String getExtension()
           
 java.lang.String getName()
          Returns the type description
protected  java.lang.String getOptionalAttribute(org.jdom.Element e, java.lang.String name)
           
protected  org.jdom.Element getOptionalChild(org.jdom.Element e, java.lang.String name)
           
protected  java.util.HashMap getParameters(org.jdom.Element e)
           
protected  java.lang.String getRequiredAttribute(org.jdom.Element e, java.lang.String name)
           
protected  org.jdom.Element getRequiredChild(org.jdom.Element e, java.lang.String name)
           
 java.lang.String getWebServicesName()
          Returns the "WebServName" key in the RDF
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fName

protected java.lang.String fName

fWsName

protected java.lang.String fWsName

fCentricity

protected java.lang.String fCentricity

fExtension

protected java.lang.String fExtension
Constructor Detail

ResourceInfoBase

public ResourceInfoBase(org.jdom.Element root,
                        java.lang.String name)
                 throws SonificationException
Throws:
SonificationException
Method Detail

getExtension

public java.lang.String getExtension()

getName

public java.lang.String getName()
Returns the type description


getWebServicesName

public java.lang.String getWebServicesName()
Returns the "WebServName" key in the RDF


getCentricity

public java.lang.String getCentricity()
Returns the centricity string


getParameters

protected java.util.HashMap getParameters(org.jdom.Element e)
                                   throws SonificationException
Throws:
SonificationException

getRequiredAttribute

protected java.lang.String getRequiredAttribute(org.jdom.Element e,
                                                java.lang.String name)
                                         throws SonificationException
Throws:
SonificationException

getOptionalAttribute

protected java.lang.String getOptionalAttribute(org.jdom.Element e,
                                                java.lang.String name)

getRequiredChild

protected org.jdom.Element getRequiredChild(org.jdom.Element e,
                                            java.lang.String name)
                                     throws SonificationException
Throws:
SonificationException

getOptionalChild

protected org.jdom.Element getOptionalChild(org.jdom.Element e,
                                            java.lang.String name)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object