org.outerj.daisy.publisher.serverimpl.docpreparation
Class PreparationPipe
java.lang.Object
org.outerj.daisy.publisher.serverimpl.docpreparation.PreparationPipe
- public class PreparationPipe
- extends java.lang.Object
Constructor Summary |
PreparationPipe(org.outerj.daisy.repository.Repository repository,
org.apache.avalon.framework.logger.Logger logger,
java.util.Locale locale,
long contextBranchId,
long contextLanguageId,
org.outerj.daisy.repository.VariantKey navigationDoc)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreparationPipe
public PreparationPipe(org.outerj.daisy.repository.Repository repository,
org.apache.avalon.framework.logger.Logger logger,
java.util.Locale locale,
long contextBranchId,
long contextLanguageId,
org.outerj.daisy.repository.VariantKey navigationDoc)
process
public PreparedDocuments process(org.outerx.daisy.x10.DocumentDocument documentDocument)
throws org.outerj.daisy.repository.RepositoryException,
org.xml.sax.SAXException
- Throws:
org.outerj.daisy.repository.RepositoryException
org.xml.sax.SAXException
prepareDocumentXml
public void prepareDocumentXml(org.outerx.daisy.x10.DocumentDocument documentDocument)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
getPublishedDocument
public PreparedDocuments getPublishedDocument()
getRepository
public org.outerj.daisy.repository.Repository getRepository()
getLogger
public org.apache.avalon.framework.logger.Logger getLogger()
getLocale
public java.util.Locale getLocale()
getContextBranchId
public long getContextBranchId()
getContextLanguageId
public long getContextLanguageId()
getNavigationDoc
public org.outerj.daisy.repository.VariantKey getNavigationDoc()
getPreparedDocuments
public PreparedDocuments getPreparedDocuments()
annotateDocument
public static void annotateDocument(org.outerx.daisy.x10.DocumentDocument.Document documentXml,
org.outerj.daisy.repository.Repository repository,
java.util.Locale locale)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
annotateFields
public static void annotateFields(org.outerx.daisy.x10.FieldDocument.Field[] fieldsXml,
org.outerj.daisy.repository.Repository repository,
java.util.Locale locale)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
createDocumentHandler
public PreparationPipe.DocumentHandlerInfo createDocumentHandler(ContentProcessor parentProcessor)
- Creates a chain of SAX processor through which a document XML can be piped to get a "prepared document".
Copyright © -2005 . All Rights Reserved.