Package com.altova.raptorxml
Interface RaptorXMLFactory
public interface RaptorXMLFactory
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionintReturns the major version of the API; could be different from the product's version if the API is connected to another serverintReturns the minor version of the API; could be different from the product's version if the API is connected to another serverintReturns the service pack version of the API; could be different from the product's version if the API is connected to another serverintReturns the major version of the product; e.g.intReturns the minor version of the product; e.g.Returns the name of the product; e.g.Returns the complete name and version number of the product; e.g.intReturns the service pack version of the product; e.g.getXBRL()Retrieve the XBRL engineRetrieve the XMLDsig engineRetrieve the XML Validator.Retrieve the XQuery enginegetXSLT()Retrieve the XQuery enginebooleanis64bit()Checks if the engine is a 64-bit executable; e.g.voidConfigure the format of reported errorsvoidsetErrorLimit(int limit) Configure the engine's Error Limit propertyvoidsetGlobalCatalog(String catalog) Set the file name for the global catalog.voidsetGlobalResourceConfig(String config) Set the active global resource configuration.voidsetGlobalResourcesFile(String file) Set the file name for the global resources file.voidsetReportOptionalWarnings(boolean report) Enable/disable warning reportingvoidsetServerFile(String file) Sets the server internal address for the HTTP servervoidsetServerName(String name) Sets the server name for the HTTP servervoidsetServerPort(int port) Sets the HTTP server's portvoidsetUserCatalog(String catalog) Set the file name for an additional catalog.
-
Method Details
-
getXMLValidator
XMLValidator getXMLValidator()Retrieve the XML Validator.- Returns:
- a new XML Validator instance
-
getXBRL
XBRL getXBRL()Retrieve the XBRL engine- Returns:
- a new XBRL instance
-
getXQuery
XQuery getXQuery()Retrieve the XQuery engine- Returns:
- a new XQuery instance
-
getXSLT
XSLT getXSLT()Retrieve the XQuery engine- Returns:
- a new XQuery instance
-
getXMLDsig
XMLDsig getXMLDsig()Retrieve the XMLDsig engine- Returns:
- a new XMLDsig instance
-
setServerName
Sets the server name for the HTTP server- Parameters:
name- Server machine- Throws:
RaptorXMLException
-
setServerFile
Sets the server internal address for the HTTP server- Parameters:
file- Server address, relative to the HTTP server's root- Throws:
RaptorXMLException
-
setServerPort
Sets the HTTP server's port- Parameters:
port- Server port number- Throws:
RaptorXMLException
-
setUserCatalog
Set the file name for an additional catalog. Please note that you have to use absolute URLs.- Parameters:
catalog- an absolute URL giving the base location of the file
-
setGlobalCatalog
Set the file name for the global catalog. Please note that you have to use absolute URLs.- Parameters:
catalog- an absolute URL giving the base location of the file
-
setGlobalResourcesFile
Set the file name for the global resources file. Please note that you have to use absolute URLs.- Parameters:
file- an absolute URL giving the base location of the file.
-
setGlobalResourceConfig
Set the active global resource configuration.- Parameters:
config- Name of the configuration.
-
setErrorLimit
Configure the engine's Error Limit property- Parameters:
limit- Number of errors to report before stopping; allowed values: 1-999- Throws:
RaptorXMLException
-
setReportOptionalWarnings
void setReportOptionalWarnings(boolean report) Enable/disable warning reporting- Parameters:
report- New value
-
setErrorFormat
Configure the format of reported errors- Parameters:
format- Error format: text, short XML or long XML (default: text)
-
getMajorVersion
Returns the major version of the product; e.g. returns 16 for Altova RaptorXML+XBRL Server 2014 r2 sp1 (x64)- Throws:
RaptorXMLException
-
getMinorVersion
Returns the minor version of the product; e.g. returns 2 for Altova RaptorXML+XBRL Server 2014 r2 sp1 (x64)- Throws:
RaptorXMLException
-
getServicePackVersion
Returns the service pack version of the product; e.g. returns 1 for Altova RaptorXML+XBRL Server 2014 r2 sp1 (x64)- Throws:
RaptorXMLException
-
getProductName
Returns the name of the product; e.g. returns "Altova RaptorXML+XBRL Server" for Altova RaptorXML+XBRL Server 2014 r2 sp1 (x64)- Throws:
RaptorXMLException
-
is64bit
Checks if the engine is a 64-bit executable; e.g. returns true for Altova RaptorXML+XBRL Server 2014 r2 sp1 (x64)- Throws:
RaptorXMLException
-
getProductNameAndVersion
Returns the complete name and version number of the product; e.g. "Altova RaptorXML+XBRL Server 2014 r2 sp1 (x64)"- Throws:
RaptorXMLException
-
getAPIMajorVersion
int getAPIMajorVersion()Returns the major version of the API; could be different from the product's version if the API is connected to another server -
getAPIMinorVersion
int getAPIMinorVersion()Returns the minor version of the API; could be different from the product's version if the API is connected to another server -
getAPIServicePackVersion
int getAPIServicePackVersion()Returns the service pack version of the API; could be different from the product's version if the API is connected to another server
-