|
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.control.georss.ExtJsonFeedWriter
com.esri.gpt.control.georss.DcatJsonFeedWriter
public class DcatJsonFeedWriter
Writes Dcat json response of search results using dcat mappings.
| Field Summary | |
|---|---|
protected DcatSchemas |
dcatSchemas
|
| Fields inherited from class com.esri.gpt.control.georss.ExtJsonFeedWriter |
|---|
context, DF, LOG, messageBroker, parameterMap, predicateBanned, query, writer |
| Constructor Summary | |
|---|---|
protected |
DcatJsonFeedWriter(HttpServletRequest request,
RequestContext context,
PrintWriter writer,
RestQuery query,
Boolean pretty)
|
protected |
DcatJsonFeedWriter(Map<String,String[]> parameterMap,
RequestContext context,
PrintWriter writer,
RestQuery query,
Boolean pretty)
|
|
DcatJsonFeedWriter(RequestContext context,
PrintWriter writer,
RestQuery query)
|
| Method Summary | |
|---|---|
protected Set<String> |
buildOutFieldsSet()
Builds collection of names of fields for output. |
protected boolean |
checkAttr(String attrName)
Checks if attribute of a given name can be printed. |
protected Properties |
makeDefaultValues()
|
protected void |
printArg2(String argName,
String argVal,
boolean more)
Prints argument. |
protected void |
printAttributesUserDcatMappings(IFeedRecord r,
boolean before)
Prints attributes using dcat mappings |
protected void |
printLink(ResourceLink link,
boolean more,
String format)
Prints a link. |
protected void |
printLinkArg(String argName,
String argVal,
boolean more)
Prints argument. |
protected void |
printLinks(ResourceLinks links,
boolean more,
boolean before)
Prints all links. |
protected void |
printRecord(IFeedRecord r,
Envelope env,
boolean more)
Prints record. |
protected void |
printRecords(IFeedRecords records,
boolean more)
Prints all records. |
void |
write(IFeedRecords records)
Writers records. |
| Methods inherited from class com.esri.gpt.control.georss.ExtJsonFeedWriter |
|---|
coord, createInstance, createInstance, getConfigParam, getMessageBroker, getOutputSpatialReference, getRequestParam, guessServiceUrn, hasRequestParam, levelDown, levelUp, print, printAPI, printArg, printArg, printAttr, printAttr, printAttributes, printField, printGeometry, printLink, printLink, printLinks, println, printPolygon, printPolygonShape, printResources, printTab, setMessageBroker, sp, writeCountOnly, writeIdsOnly |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DcatSchemas dcatSchemas
| Constructor Detail |
|---|
protected DcatJsonFeedWriter(HttpServletRequest request,
RequestContext context,
PrintWriter writer,
RestQuery query,
Boolean pretty)
protected DcatJsonFeedWriter(Map<String,String[]> parameterMap,
RequestContext context,
PrintWriter writer,
RestQuery query,
Boolean pretty)
public DcatJsonFeedWriter(RequestContext context,
PrintWriter writer,
RestQuery query)
| Method Detail |
|---|
protected Properties makeDefaultValues()
public void write(IFeedRecords records)
FeedWriter
write in interface FeedWriterwrite in class ExtJsonFeedWriterrecords - records to write
protected void printRecords(IFeedRecords records,
boolean more)
printRecords in class ExtJsonFeedWriterrecords - records to printmore - true if more info will be printed after that
section
protected void printRecord(IFeedRecord r,
Envelope env,
boolean more)
printRecord in class ExtJsonFeedWriterr - record to printenv - envelopemore - true if more info will be printed after that
section
protected void printAttributesUserDcatMappings(IFeedRecord r,
boolean before)
r - recordbefore - true if more info will be printed after that
section
protected void printArg2(String argName,
String argVal,
boolean more)
argName - argument nameargVal - argument valuemore - flag to indicate if there will be more arguments
protected void printLinks(ResourceLinks links,
boolean more,
boolean before)
links - collection of resource linksmore - true if more elements are comingbefore - flag to indicate if there will be more arguments
protected void printLink(ResourceLink link,
boolean more,
String format)
link - resource linkmore - flag to indicate if there will be more argumentsformat - format
protected void printLinkArg(String argName,
String argVal,
boolean more)
argName - argument nameargVal - argument valuemore - flag to indicate if there will be more argumentsprotected boolean checkAttr(String attrName)
checkAttr in class ExtJsonFeedWriterattrName - attribute name
true if attribute can be printedprotected Set<String> buildOutFieldsSet()
buildOutFieldsSet in class ExtJsonFeedWriter
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||