@API(type=NOT_EXTENDABLE,
src=PUBLIC)
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 |
setFrameworks(java.io.File workDir)
Sets the folder that contains the frameworks.
|
static void |
setLicenseKey(java.lang.String licenseKey)
Sets the license key.
|
static void |
setLicenseServer(java.lang.String servletURL,
java.lang.String userName,
java.lang.String password)
Sets the license server for the floating licensing.
|
static void |
setOptions(java.io.File workDir,
java.lang.String optionsFileName)
Sets the file to be used to load the oxygen options.
|
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, javax.xml.parsers.ParserConfigurationException, 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
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
public static AuthorDocumentModel createAuthorDocumentInfo(java.lang.String systemID, java.util.Map<java.lang.String,?> sessionAttributes) throws java.io.IOException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
systemID
- The document systemID.sessionAttributes
- The session attributes.java.io.IOException
javax.xml.parsers.ParserConfigurationException
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, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
systemID
- The document systemID.docReader
- Reader over the document.sessionAttributes
- Session attributes.java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
public static void setOptions(java.io.File workDir, java.lang.String optionsFileName)
workDir
- The directory in which the options file resides.optionsFileName
- The name of the options file.public static void setFrameworks(java.io.File workDir)
workDir
- The folder that contains the frameworks.public static void setLicenseServer(java.lang.String servletURL, java.lang.String userName, java.lang.String password)
servletURL
- The URL of the license server.userName
- The user name.password
- The password.public static void setLicenseKey(java.lang.String licenseKey)
licenseKey
- The licence key.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.