edu.gmu.laits.registry
Class RequestFactory
java.lang.Object
|
+--edu.gmu.laits.registry.RequestFactory
- public class RequestFactory
- extends java.lang.Object
Method Summary |
static java.lang.String |
CreateDataServiceRequest(java.lang.String id)
create reqeust to search service based on associated data |
static java.lang.String |
createRequest(java.lang.String sName)
Create request to search OGC service |
static java.lang.String |
createRequest(java.lang.String[] bbox,
java.lang.String[] temporal,
java.lang.String[] attributes)
Create request to search data based on data attribute |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestFactory
public RequestFactory()
createRequest
public static java.lang.String createRequest(java.lang.String sName)
- Create request to search OGC service
- Parameters:
sName
- service type name, including Web Coverage Service, Web Feature Service,
Web Map Service, Catalog Service for Web
- Returns:
- query result (in XML)
createRequest
public static java.lang.String createRequest(java.lang.String[] bbox,
java.lang.String[] temporal,
java.lang.String[] attributes)
- Create request to search data based on data attribute
- Parameters:
bbox
- bouding box, bbox[0] is the name of spatial reference system
bbox[1] is minX, bbox[2] is minY, bbox[3] is maxX and bbox[4] is maxYtemporal
- production tiem, temporal[0] is begin time, temporal[1] is end timeattributes
- metadata attributes,
attributes[0] product name
attributes[1] instrument short name
attributes[2] platform short name
attributes[3] ECS sensor keyword
attributes[4] ECS topic keyword
attributes[5] ECS discipline keyword
attributes[6] ECS term keyword
attributes[7] ECS variable keyword
attributes[8] processing level
- Returns:
- query result (in XML)
CreateDataServiceRequest
public static java.lang.String CreateDataServiceRequest(java.lang.String id)
- create reqeust to search service based on associated data
- Parameters:
id
- data UUID
- Returns:
- query result (in XML)