|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.server.csw.provider3.local.DiscoveryAdapter
com.esri.gpt.server.csw.provider3.local.QueryResponse
public class QueryResponse
Generates a CSW query response.
Applies to the GetRecordById and GetRecords operation response.
| Constructor Summary | |
|---|---|
QueryResponse(OperationContext context)
Default constructor |
|
| Method Summary | |
|---|---|
protected void |
appendAtomResultsElement(OperationContext context)
Creates and appends the Atom elements to the XML document. |
protected PropertyMeaning |
appendDiscoveredField(OperationContext context,
Element record,
Returnable returnable)
Creates and appends elements associated with a returnable property to a record element. |
protected void |
appendDiscoveredRecords(OperationContext context,
Document root)
|
protected void |
appendDiscoveredRecords(OperationContext context,
Element parent)
Creates and appends the discovered record elements to the XML document. |
protected void |
appendGeometry(Element record,
Document responseDom,
Envelope env)
methods ================================================================= |
protected void |
appendSearchResultsElement(OperationContext context,
Element parent)
Creates and appends the csw:SearchResults element to the XML document. |
void |
generateResponse(OperationContext context)
Generates the response. |
Document |
newResponseDom(OperationContext context)
|
Element |
newResponseDom(OperationContext context,
String rootName)
Creates a new XML document for response construction. |
| Methods inherited from class com.esri.gpt.server.csw.provider3.local.DiscoveryAdapter |
|---|
getDiscoveryContext, parsePropertyName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryResponse(OperationContext context)
| Method Detail |
|---|
protected void appendGeometry(Element record,
Document responseDom,
Envelope env)
protected PropertyMeaning appendDiscoveredField(OperationContext context,
Element record,
Returnable returnable)
context - the operation contextrecord - the parent element that will hold the fields (a Record)returnable - the returnable property
null if
element not added
protected void appendDiscoveredRecords(OperationContext context,
Element parent)
throws Exception
context - the operation contextparent - the parent element that will hold the records
Exception
protected void appendSearchResultsElement(OperationContext context,
Element parent)
throws Exception
parent - the parent element that will hold the results (typically the
root)
Exception
protected void appendAtomResultsElement(OperationContext context)
throws Exception
root - the parent element that will hold the results (typically the
root)
Exception
public void generateResponse(OperationContext context)
throws Exception
generateResponse in interface IResponseGeneratorcontext - the operation context
Exception - if a processing exception occurs
public Document newResponseDom(OperationContext context)
throws Exception
Exception
public Element newResponseDom(OperationContext context,
String rootName)
throws Exception
rootName - the name of the root element
Exception - if a processing exception occurs
protected void appendDiscoveredRecords(OperationContext context,
Document root)
throws Exception
Exception
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||