public class PageNotFoundTransformer extends AbstractDSpaceTransformer implements org.apache.cocoon.caching.CacheableProcessingComponent
context, contextPath, eperson, knot, objectModel, parameters, servletPath, sitemapURI, url| Constructor and Description |
|---|
PageNotFoundTransformer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBody(Body body)
What to add at the end of the body.
|
void |
addPageMeta(PageMeta pageMeta)
What page metadata to add to the document.
|
void |
endElement(String namespaceURI,
String localName,
String qName)
Process the SAX event.
|
Serializable |
getKey()
Generate the unique caching key.
|
org.apache.excalibur.source.SourceValidity |
getValidity()
Generate the cache validity object.
|
void |
sendEvent(org.dspace.app.xmlui.aspect.general.PageNotFoundTransformer.SAXEvent event)
Send the given recorded sax event.
|
void |
startDocument()
Receive notification of the beginning of a document.
|
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes attributes)
Process the SAX event.
|
addOptions, addUserMeta, decodeFromURL, dispose, encodeForURL, generateURL, getComponentName, getObjectManager, handleException, recycle, setupcreateWingDocument, endDocument, endPrefixMapping, getDefaultMessageCatalogue, message, message, setupWing, startPrefixMappingcharacters, comment, endCDATA, endDTD, endEntity, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDTD, startEntitysetConsumer, setContentHandler, setLexicalHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacters, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntitycomment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntitypublic Serializable getKey()
getKey in interface org.apache.cocoon.caching.CacheableProcessingComponentpublic org.apache.excalibur.source.SourceValidity getValidity()
getValidity in interface org.apache.cocoon.caching.CacheableProcessingComponentpublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerstartDocument in class AbstractWingTransformerSAXException - passed through.public void startElement(String namespaceURI, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class AbstractWingTransformernamespaceURI - The Namespace URI, or the empty string if the element has no
Namespace URI or if Namespace processing is not being
performed.localName - The local name (without prefix), or the empty string if
Namespace processing is not being performed.qName - The raw XML 1.0 name (with prefix), or the empty string if raw
names are not available.attributes - The attributes attached to the element. If there are no
attributes, it shall be an empty Attributes object.SAXException - passed through.ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)public void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class AbstractWingTransformernamespaceURI - The Namespace URI, or the empty string if the element has no
Namespace URI or if Namespace processing is not being
performed.localName - The local name (without prefix), or the empty string if
Namespace processing is not being performed.qName - The raw XML 1.0 name (with prefix), or the empty string if raw
names are not available.SAXException - passed through.ContentHandler.endElement(java.lang.String, java.lang.String, java.lang.String)public void addBody(Body body) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException, org.apache.cocoon.ResourceNotFoundException
addBody in interface DSpaceTransformeraddBody in interface WingTransformeraddBody in class AbstractDSpaceTransformerbody - to be added.SAXException - passed through.WingException - passed through.UIException - passed through.SQLException - passed through.IOException - passed through.AuthorizeException - passed through.org.apache.cocoon.ResourceNotFoundException - unless redirecting or body is nonempty.public void addPageMeta(PageMeta pageMeta) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException
addPageMeta in interface DSpaceTransformeraddPageMeta in interface WingTransformeraddPageMeta in class AbstractDSpaceTransformerpageMeta - to be added.SAXException - passed through.WingException - passed through.UIException - passed through.SQLException - passed through.IOException - passed through.AuthorizeException - passed through.public void sendEvent(org.dspace.app.xmlui.aspect.general.PageNotFoundTransformer.SAXEvent event)
throws SAXException
event - the event.SAXException - passed through.Copyright © 2016 DuraSpace. All rights reserved.