public class EML2MetadataSpecification extends MetadataSpecificationInterface
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EML200NAMESPACE |
protected static boolean |
isDebugging |
protected static org.apache.commons.logging.Log |
log |
protected java.lang.String |
namespace |
protected java.lang.String |
queryId |
AUTHENTICATION_MAPPING, AUTHENTICATION_SERVICECLASS, AUTHENTICATION_SERVICETYPE, DESCRIPTION, DOCUMENTTYPE, ECOGRIDPATH, ENDPOINT, LABEL, METADATACLASS, METADATASPECIFICATIONCLASSLIST, NAMESPACE, QUERYTITLE, QUICKPATH, RETURNFIELD, RETURNFIELDENTITY, RETURNFIELDTITLE, RETURNFIELDTYPE, RETURNFIELDTYPELIST, SELECTION, SERVICE, SERVICECLASSIFICATION, SERVICEGROUP, SERVICENAME, SERVICESLIST, SERVICETYPE
Constructor and Description |
---|
EML2MetadataSpecification()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
addResultsetRecordsToContainer(org.ecoinformatics.ecogrid.queryservice.resultset.ResultsetType results,
java.lang.String endpoint,
CompositeEntity container,
java.util.Vector aResultList)
Creates a the ResultRecord items (derived from Source) and adds them into
the container
|
java.lang.String |
getBriefName() |
org.ecoinformatics.ecogrid.queryservice.query.QueryType |
getEcoGridQuery()
Method to create a ecogrid query
|
java.lang.String |
getName() |
int |
getNumResults() |
org.ecoinformatics.ecogrid.queryservice.query.QueryType |
getQuickSearchEcoGridQuery(java.lang.String value)
Method to create a quick query search
|
ResultRecord[] |
transformResultset(org.ecoinformatics.ecogrid.queryservice.resultset.ResultsetType results,
java.lang.String endpoint,
CompositeEntity container)
This method will transfer ResultsetType java object to array of
ResultRecord java object.
|
replaceDotByDash
public static final java.lang.String EML200NAMESPACE
protected java.lang.String namespace
protected java.lang.String queryId
protected static final org.apache.commons.logging.Log log
protected static final boolean isDebugging
public EML2MetadataSpecification()
public org.ecoinformatics.ecogrid.queryservice.query.QueryType getQuickSearchEcoGridQuery(java.lang.String value) throws InvalidEcogridQueryException
getQuickSearchEcoGridQuery
in class MetadataSpecificationInterface
value
- StringInvalidEcogridQueryException
- Description of the Exceptionpublic org.ecoinformatics.ecogrid.queryservice.query.QueryType getEcoGridQuery()
getEcoGridQuery
in class MetadataSpecificationInterface
public ResultRecord[] transformResultset(org.ecoinformatics.ecogrid.queryservice.resultset.ResultsetType results, java.lang.String endpoint, CompositeEntity container) throws org.xml.sax.SAXException, java.io.IOException, EcoGridException, NameDuplicationException, IllegalActionException
ResultsetType
- results the result need to be transformString
- endpoints the search end pointorg.xml.sax.SAXException
java.io.IOException
EcoGridException
NameDuplicationException
IllegalActionException
public boolean addResultsetRecordsToContainer(org.ecoinformatics.ecogrid.queryservice.resultset.ResultsetType results, java.lang.String endpoint, CompositeEntity container, java.util.Vector aResultList) throws org.xml.sax.SAXException, java.io.IOException, EcoGridException, NameDuplicationException, IllegalActionException
addResultsetRecordsToContainer
in class MetadataSpecificationInterface
aResults
- aEndPointURLStr
- aContainer
- aResultList
- org.xml.sax.SAXException
java.io.IOException
EcoGridException
NameDuplicationException
IllegalActionException
public java.lang.String getName()
getName
in class MetadataSpecificationInterface
public java.lang.String getBriefName()
getBriefName
in class MetadataSpecificationInterface
public int getNumResults()
getNumResults
in class MetadataSpecificationInterface