org.eaglei.repository.servlet
Class Disseminate
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.eaglei.repository.servlet.RepositoryServlet
org.eaglei.repository.servlet.Disseminate
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
@HasContentCache
public class Disseminate
- extends RepositoryServlet
Dissemination of the content for an Eagle-I Resource representation instance.
Exact content varies by the format: if HTML is requested or
negotiated, output only includes properties that should be visible to
end users. It is basic unstyled HTML since styles are applied via UI
customization.
When an RDF serialization format is selected, output is a graph of
*all* relevant statements that authenticated user is entitled to know.
Query Args:
uri - alternate method of specifying URI
format - override content negotiation with this MIME type
view - use this view as source of RDF data; default is 'user'
The generated XHTML includes the following classes on relevant tags,
to assist in styling and transformation:
eaglei_resourceLabel
eaglei_resourceURI
eaglei_resourceProperties
eaglei_resourceProperty
eaglei_resourcePropertyTerm
eaglei_resourcePropertyValue
eaglei_resourceTypes
eaglei_resourceType
rdf_uriLocalName
rdf_literal
rdf_type_{XSD-type-localname}
rdf_value
- Version:
- $Id: $
- Author:
- Larry Stone
- See Also:
- Serialized Form
|
Method Summary |
static void |
decache()
Invalidate any in-memory cache of RDF data. |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
init(javax.servlet.ServletConfig sc)
Configure this servlet instance as "authenticated" or not. |
| Methods inherited from class org.eaglei.repository.servlet.RepositoryServlet |
getExactParameter, getParameter, getParameterAsBoolean, getParameterAsKeyword, getParameterAsReader, getParameterAsURI, getParameterContentType, getParameters, isParameterPresent, redirectToJSP, service |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Disseminate
public Disseminate()
init
public void init(javax.servlet.ServletConfig sc)
throws javax.servlet.ServletException
-
Configure this servlet instance as "authenticated" or not.
- Specified by:
init in interface javax.servlet.Servlet- Overrides:
init in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
decache
public static void decache()
- Invalidate any in-memory cache of RDF data.
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
-
- Overrides:
doPost in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
-
- Overrides:
doGet in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
Copyright © 2009-2011 Eagle-I. All Rights Reserved.