public class StepTransformer extends AbstractDSpaceTransformer
This transformer just initializes the current step class and calls the appropriate method(s) for the step.
AbstractStep| Modifier and Type | Field and Description |
|---|---|
protected String |
collectionHandle
The handle of the collection into which this DSpace
item is being submitted
|
protected String |
id
The id of the currently active workspace or workflow, this contains
the incomplete DSpace item
|
context, contextPath, eperson, knot, objectModel, parameters, servletPath, sitemapURI, url| Constructor and Description |
|---|
StepTransformer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBody(Body body)
What to add at the end of the body
|
void |
addOptions(Options options)
What to add to the options list
|
void |
addPageMeta(PageMeta pageMeta)
What page metadata to add to the document
|
void |
addUserMeta(UserMeta userMeta)
What user metadata to add to the document
|
void |
recycle()
Recycle
|
void |
setup(org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String src,
org.apache.avalon.framework.parameters.Parameters parameters)
Grab all the step's parameters from the sitemap.
|
decodeFromURL, dispose, encodeForURL, generateURL, getComponentName, getObjectManager, handleExceptioncreateWingDocument, endDocument, endElement, endPrefixMapping, getDefaultMessageCatalogue, message, message, setupWing, startDocument, startElement, 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, startEntityprotected String id
protected String collectionHandle
public void setup(org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String src,
org.apache.avalon.framework.parameters.Parameters parameters)
throws org.apache.cocoon.ProcessingException,
SAXException,
IOException
setup in interface org.apache.cocoon.sitemap.SitemapModelComponentsetup in class AbstractDSpaceTransformerorg.apache.cocoon.ProcessingExceptionSAXExceptionIOExceptionpublic void addBody(Body body) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException, org.apache.cocoon.ProcessingException
addBody in interface DSpaceTransformeraddBody in interface WingTransformeraddBody in class AbstractDSpaceTransformerSAXExceptionWingExceptionUIExceptionSQLExceptionIOExceptionAuthorizeExceptionorg.apache.cocoon.ProcessingExceptionpublic void addOptions(Options options) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException
addOptions in interface DSpaceTransformeraddOptions in interface WingTransformeraddOptions in class AbstractDSpaceTransformerSAXExceptionWingExceptionUIExceptionSQLExceptionIOExceptionAuthorizeExceptionpublic void addUserMeta(UserMeta userMeta) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException
addUserMeta in interface DSpaceTransformeraddUserMeta in interface WingTransformeraddUserMeta in class AbstractDSpaceTransformerSAXExceptionWingExceptionUIExceptionSQLExceptionIOExceptionAuthorizeExceptionpublic void addPageMeta(PageMeta pageMeta) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException
addPageMeta in interface DSpaceTransformeraddPageMeta in interface WingTransformeraddPageMeta in class AbstractDSpaceTransformerSAXExceptionWingExceptionUIExceptionSQLExceptionIOExceptionAuthorizeExceptionpublic void recycle()
recycle in interface org.apache.avalon.excalibur.pool.Recyclablerecycle in class AbstractDSpaceTransformerCopyright © 2016 DuraSpace. All Rights Reserved.