class: OptionsConeServlet

public class: OptionsConeServlet
Author: franke (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1952 $ $LastChangedDate: 2009-05-07 10:; Complexity: 1
Dates: Created: 16.07.2009 15:15:54; Modified: 16.07.2009 15:15:54;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {9C85DFF4-E867-49aa-AEF4-C3717D6320D3}
Servlet to answer calls from PubMan for options generation.
 

Goto: Custom Properties, Fields, Methods

Extends: ConeServlet

See also: ConeServlet

Appears in: web

Connections
 
Custom Properties
 
OptionsConeServlet Attributes
Attribute Details
private static const String
  DEFAULT_ENCODING
Initial: "UTF-8"
private static const String
  ERROR_TRANSFORMING_RESULT
Initial: "Error transforming result"
private static const Logger
  logger
Initial: Logger.getLogger(OptionsConeServlet.class)
private static const String
  REGEX_PREDICATE_REPLACE
Initial: ":/\\-\\."
 
OptionsConeServlet Methods
Operation Details
protected
explain(
   HttpServletResponse response):void
Sequential
Tags: throws=FileNotFoundException,TransformerFactoryConfigurationError,IOException
Notes: Send explain output to client.
protected
formatDetails(
   String id,
   Model model,
   TreeFragment triples,
   String lang):String
Sequential
Tags: throws=IOException
Notes: Formats an TreeFragment into a JSON object.
@param result The JSON.
@return A String formatted in a JQuery readable format.
protected
formatQuery(
   List pairs):String
Sequential
Tags: throws=IOException
Notes: Formats an Map<String, String> into a simple |-separated list.
@return A String formatted in a JQuery readable format.
protected
getContentType():String
Sequential
Tags: annotations=@Override