@API(type=NOT_EXTENDABLE,
src=PRIVATE)
public class WebappAuthorDocumentFactory
extends java.lang.Object
Constructor and Description |
---|
WebappAuthorDocumentFactory() |
Modifier and Type | Method and Description |
---|---|
static AuthorDocumentModel |
createAuthorDocumentInfo(java.lang.String systemID,
java.util.Map<java.lang.String,?> sessionAttributes)
Factory method that creates a document model for the document with the
specified systemID.
|
static AuthorDocumentModel |
createAuthorDocumentInfo(java.lang.String systemID,
java.io.Reader docReader,
java.util.Map<java.lang.String,?> sessionAttributes)
Factory method that creates a document model for the document with the
specified systemID.
|
static AuthorDocumentModel |
createAuthorDocumentInfo(java.net.URL systemIdUrl,
java.io.Reader docReader,
java.util.List bomBytes,
java.util.Map<java.lang.String,?> sessionAttributes)
Factory method that creates a document model for the document with the
specified systemID.
|
static void |
dispose()
Disposes any resources used by the document factory.
|
static java.io.Reader |
getPluginsJS()
Returns a reader over all JS files from the plugins.
|
static void |
init()
Initialize the web application.
|
static void |
setFrameworks(java.io.File workDir)
Sets the folder that contains the frameworks.
|
static void |
setOptions(java.io.File workDir,
java.lang.String optionsFileName)
Sets the file to be used to load the oxygen options.
|
static void |
setPlugins(java.io.File workDir)
Sets the folder that contains the plugins.
|
public static AuthorDocumentModel createAuthorDocumentInfo(java.net.URL systemIdUrl, java.io.Reader docReader, java.util.List bomBytes, java.util.Map<java.lang.String,?> sessionAttributes) throws java.io.IOException, org.xml.sax.SAXException
systemIdUrl
- The document URL.docReader
- Reader over the document.bomBytes
- BOM bytes.sessionAttributes
- A map of session attributes.java.io.IOException
org.xml.sax.SAXException
public static AuthorDocumentModel createAuthorDocumentInfo(java.lang.String systemID, java.util.Map<java.lang.String,?> sessionAttributes) throws java.io.IOException, org.xml.sax.SAXException
systemID
- The document systemID.sessionAttributes
- The session attributes.java.io.IOException
org.xml.sax.SAXException
public static AuthorDocumentModel createAuthorDocumentInfo(java.lang.String systemID, java.io.Reader docReader, java.util.Map<java.lang.String,?> sessionAttributes) throws java.io.IOException, org.xml.sax.SAXException
systemID
- The document systemID.docReader
- Reader over the document.sessionAttributes
- Session attributes.java.io.IOException
org.xml.sax.SAXException
public static void setOptions(java.io.File workDir, java.lang.String optionsFileName) throws java.net.MalformedURLException
workDir
- The directory in which the options file resides.optionsFileName
- The name of the options file.java.net.MalformedURLException
- Unable to set the working dir.public static void setFrameworks(java.io.File workDir) throws java.net.MalformedURLException
workDir
- The folder that contains the frameworks.java.net.MalformedURLException
- If the framework's directory URL is malformed.public static void setPlugins(java.io.File workDir)
workDir
- The folder that contains the plugins.public static java.io.Reader getPluginsJS()
public static void init()
public static void dispose()
© Copyright SyncRO Soft SRL 2002 - 2015. All rights reserved.