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 java.lang.String |
collectionHandle
The handle of the collection into which this DSpace
item is being submitted
|
protected java.lang.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,
java.util.Map objectModel,
java.lang.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, skippedEntityprotected java.lang.String id
protected java.lang.String collectionHandle
public void setup(org.apache.cocoon.environment.SourceResolver resolver,
java.util.Map objectModel,
java.lang.String src,
org.apache.avalon.framework.parameters.Parameters parameters)
throws org.apache.cocoon.ProcessingException,
org.xml.sax.SAXException,
java.io.IOException
setup in interface org.apache.cocoon.sitemap.SitemapModelComponentsetup in class AbstractDSpaceTransformerorg.apache.cocoon.ProcessingExceptionorg.xml.sax.SAXExceptionjava.io.IOExceptionpublic void addBody(Body body) throws org.xml.sax.SAXException, WingException, UIException, java.sql.SQLException, java.io.IOException, AuthorizeException, org.apache.cocoon.ProcessingException
addBody in interface DSpaceTransformeraddBody in interface WingTransformeraddBody in class AbstractDSpaceTransformerorg.xml.sax.SAXExceptionWingExceptionUIExceptionjava.sql.SQLExceptionjava.io.IOExceptionAuthorizeExceptionorg.apache.cocoon.ProcessingExceptionpublic void addOptions(Options options) throws org.xml.sax.SAXException, WingException, UIException, java.sql.SQLException, java.io.IOException, AuthorizeException
addOptions in interface DSpaceTransformeraddOptions in interface WingTransformeraddOptions in class AbstractDSpaceTransformerorg.xml.sax.SAXExceptionWingExceptionUIExceptionjava.sql.SQLExceptionjava.io.IOExceptionAuthorizeExceptionpublic void addUserMeta(UserMeta userMeta) throws org.xml.sax.SAXException, WingException, UIException, java.sql.SQLException, java.io.IOException, AuthorizeException
addUserMeta in interface DSpaceTransformeraddUserMeta in interface WingTransformeraddUserMeta in class AbstractDSpaceTransformerorg.xml.sax.SAXExceptionWingExceptionUIExceptionjava.sql.SQLExceptionjava.io.IOExceptionAuthorizeExceptionpublic void addPageMeta(PageMeta pageMeta) throws org.xml.sax.SAXException, WingException, UIException, java.sql.SQLException, java.io.IOException, AuthorizeException
addPageMeta in interface DSpaceTransformeraddPageMeta in interface WingTransformeraddPageMeta in class AbstractDSpaceTransformerorg.xml.sax.SAXExceptionWingExceptionUIExceptionjava.sql.SQLExceptionjava.io.IOExceptionAuthorizeExceptionpublic void recycle()
recycle in interface org.apache.avalon.excalibur.pool.Recyclablerecycle in class AbstractDSpaceTransformerCopyright © 2014 DuraSpace. All Rights Reserved.