class: HtmlConeServlet

public class: HtmlConeServlet
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: {8F942C29-19F0-43a5-83A8-F39C9DFEDF3A}
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
 
HtmlConeServlet 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(HtmlConeServlet.class)
 
HtmlConeServlet Methods
Operation Details
protected
explain(
   HttpServletResponse response):void
Sequential
Tags: throws=FileNotFoundException,TransformerFactoryConfigurationError,IOException
Notes: Send explain output to the client.
protected
formatDetails(
   String id,
   Model model,
   TreeFragment triples,
   String lang):String
Sequential
Tags: throws=IOException
Notes: Formats an Map of triples into RDF.
@return A String formatted in HTML.
protected
formatQuery(
   List pairs):String
Sequential
Tags: throws=IOException
Notes: Formats an List<Pair> into an HTML list.
@return A String formatted as HTML
protected
getContentType():String
Sequential
Tags: annotations=@Override