class: JQueryConeServlet

public class: JQueryConeServlet
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:53; Modified: 16.07.2009 15:15:53;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {ED47D50A-D7A7-4c9d-A628-9AFA234E36E0}
Servlet to answer calls from the JQuery Javascript API.
 

Goto: Custom Properties, Fields, Methods

Extends: ConeServlet

See also: ConeServlet

Appears in: web

Connections
 
Custom Properties
 
JQueryConeServlet 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(JQueryConeServlet.class)
private static const String
  REGEX_PREDICATE_REPLACE
Initial: ":/\\-\\."
 
JQueryConeServlet Methods
Operation Details
protected
explain(
   HttpServletResponse response):void
Sequential
Tags: throws=FileNotFoundException,TransformerFactoryConfigurationError,IOException
Notes: Send explain output to client.
protected
format(
   String source):OutputStream
Sequential
Tags: throws=IOException
Notes: Formats an RDF XML String into a JQuery readable list.
@param result The RDF.
@return A String formatted in a JQuery readable format.
protected
formatDetails(
   String id,
   Model model,
   TreeFragment triples,
   String lang):String
Sequential
Tags: throws=IOException
Notes: Formats an Map<String, String> into a JQuery readable list.
@param result The RDF.
@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 JQuery readable list.
@param result The RDF.
@return A String formatted in a JQuery readable format.
protected
getContentType():String
Sequential
Tags: annotations=@Override