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.
|
replaceDotByDashpublic 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 MetadataSpecificationInterfacevalue - StringInvalidEcogridQueryException - Description of the Exceptionpublic org.ecoinformatics.ecogrid.queryservice.query.QueryType getEcoGridQuery()
getEcoGridQuery in class MetadataSpecificationInterfacepublic 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.SAXExceptionjava.io.IOExceptionEcoGridExceptionNameDuplicationExceptionIllegalActionExceptionpublic 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 MetadataSpecificationInterfaceaResults - aEndPointURLStr - aContainer - aResultList - org.xml.sax.SAXExceptionjava.io.IOExceptionEcoGridExceptionNameDuplicationExceptionIllegalActionExceptionpublic java.lang.String getName()
getName in class MetadataSpecificationInterfacepublic java.lang.String getBriefName()
getBriefName in class MetadataSpecificationInterfacepublic int getNumResults()
getNumResults in class MetadataSpecificationInterface