|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.search.SearchXslProfile<CswSearchCriteria,CswRecord,CswRecords,CswResult> com.esri.gpt.server.csw.client.CswProfile
public class CswProfile
The Class CswProfile. Hold the class statically if you intend to use the XSLT templates.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.esri.gpt.framework.search.SearchXslProfile |
---|
SearchXslProfile.FORMAT_SEARCH_TO_XSL |
Constructor Summary | |
---|---|
CswProfile()
Instantiates a new csw profile. |
|
CswProfile(String sid,
String sname,
String sdescription)
The Constructor. |
|
CswProfile(String id,
String name,
String description,
String kvp,
String requestxslt,
String responsexslt,
String metadataxslt,
boolean livedatamap,
boolean extentsearch)
The Constructor. |
Method Summary | |
---|---|
String |
generateCSWGetMetadataByIDRequestURL(String baseURL,
String recordId)
Generate a CSW request String to get metadata by ID. |
String |
generateCSWGetRecordsRequest(CswSearchCriteria search)
Generate a CSW request String. |
boolean |
isFilter_extentsearch()
Checks if is filter_extentsearch. |
boolean |
isFilter_livedatamap()
Checks if is filter_livedatamap. |
void |
readCSWGetMetadataByIDResponse(String recordByIdResponse,
CswRecord record)
Read a CSW metadata response. |
void |
readCSWGetRecordsResponse(String src,
CswRecords recordList)
Parse a CSW response. |
void |
readGetMetadataByIDResponse(String response,
CswRecord record)
Read get metadata by id response. |
void |
setFilter_extentsearch(boolean filter_extentsearch)
Sets the filter_extentsearch. |
void |
setFilter_livedatamap(boolean filter_livedatamap)
Sets the filter_livedatamap. |
boolean |
SupportContentTypeQuery()
Support content type query. |
boolean |
SupportSpatialBoundary()
|
boolean |
SupportSpatialQuery()
Support spatial query. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CswProfile()
public CswProfile(String sid, String sname, String sdescription)
sid
- the sidsname
- the snamesdescription
- the sdescriptionpublic CswProfile(String id, String name, String description, String kvp, String requestxslt, String responsexslt, String metadataxslt, boolean livedatamap, boolean extentsearch)
id
- the idname
- the namedescription
- the descriptionkvp
- the kvprequestxslt
- the requestxsltresponsexslt
- the responsexsltmetadataxslt
- the metadataxsltlivedatamap
- the livedatamapextentsearch
- the extentsearchMethod Detail |
---|
public String generateCSWGetMetadataByIDRequestURL(String baseURL, String recordId)
baseURL
- the base URLrecordId
- the record id
public String generateCSWGetRecordsRequest(CswSearchCriteria search) throws TransformerException, IOException
search
- the search
TransformerException
- the transformer exception
IOException
- Signals that an I/O exception has occurred.public void readCSWGetMetadataByIDResponse(String recordByIdResponse, CswRecord record) throws TransformerException, IOException
recordByIdResponse
- the responserecord
- the record
TransformerException
- the transformer exception
IOException
- Exception while readingpublic void readCSWGetRecordsResponse(String src, CswRecords recordList) throws TransformerException, SAXException, IOException, ParserConfigurationException, XPathExpressionException
src
- the srcrecordList
- the record list
TransformerException
- the transformer exception
ParserConfigurationException
- the parser configuration exception
IOException
- Signals that an I/O exception has occurred.
SAXException
- the SAX exception
XPathExpressionException
- the x path expression exceptionpublic boolean SupportContentTypeQuery()
SupportContentTypeQuery
in class SearchXslProfile<CswSearchCriteria,CswRecord,CswRecords,CswResult>
public boolean SupportSpatialBoundary()
SupportSpatialBoundary
in class SearchXslProfile<CswSearchCriteria,CswRecord,CswRecords,CswResult>
public boolean SupportSpatialQuery()
SupportSpatialQuery
in class SearchXslProfile<CswSearchCriteria,CswRecord,CswRecords,CswResult>
public boolean isFilter_extentsearch()
isFilter_extentsearch
in class SearchXslProfile<CswSearchCriteria,CswRecord,CswRecords,CswResult>
public void setFilter_extentsearch(boolean filter_extentsearch)
setFilter_extentsearch
in class SearchXslProfile<CswSearchCriteria,CswRecord,CswRecords,CswResult>
filter_extentsearch
- the new filter_extentsearchpublic boolean isFilter_livedatamap()
isFilter_livedatamap
in class SearchXslProfile<CswSearchCriteria,CswRecord,CswRecords,CswResult>
public void setFilter_livedatamap(boolean filter_livedatamap)
setFilter_livedatamap
in class SearchXslProfile<CswSearchCriteria,CswRecord,CswRecords,CswResult>
filter_livedatamap
- the new filter_livedatamappublic void readGetMetadataByIDResponse(String response, CswRecord record) throws TransformerException
readGetMetadataByIDResponse
in class SearchXslProfile<CswSearchCriteria,CswRecord,CswRecords,CswResult>
response
- the responserecord
- the record
TransformerException
- the transformer exceptionSearchXslProfile.readGetMetadataByIDResponse(java.lang.String, com.esri.gpt.framework.request.Record)
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |