public class JavaPlatformPE extends JavaPlatform
JavaPlatform.MyClassLoader
Constructor and Description |
---|
JavaPlatformPE()
The constructor is called during the static initialization of the Configuration
|
Modifier and Type | Method and Description |
---|---|
void |
addFunctionLibraries(FunctionLibraryList list,
Configuration config,
int hostLanguage)
Add the platform-specific function libraries to a function library list.
|
boolean |
hasICUCollator()
Is an ICU collator loaded?
|
boolean |
hasICUNumberer()
Is an ICU numberer loaded?
|
void |
initialize(Configuration config)
Perform platform-specific initialization of the configuration
|
StringCollator |
makeUcaCollator(java.lang.String uri,
Configuration config)
If available, make a collation using the ICU-J Library
|
void |
registerAllBuiltInObjectModels(Configuration config)
Register all the external object models that are provided as standard
with the relevant edition of Saxon for this Configuration
|
canReturnCollationKeys, compileRegularExpression, getCollationKey, getExternalObjectType, getInstallationDirectory, getParserSource, getPlatformSuffix, getPlatformVersion, isDotNet, isJava, JAXPStaticContextCheck, loadParser, makeClassLoader, makeCollation, makeStandardModuleURIResolver, setDefaultSAXParserFactory
public JavaPlatformPE()
public boolean hasICUCollator()
hasICUCollator
in interface Platform
hasICUCollator
in class JavaPlatform
public boolean hasICUNumberer()
hasICUNumberer
in interface Platform
hasICUNumberer
in class JavaPlatform
public void initialize(Configuration config)
initialize
in interface Platform
initialize
in class JavaPlatform
config
- the Saxon Configurationpublic void addFunctionLibraries(FunctionLibraryList list, Configuration config, int hostLanguage)
addFunctionLibraries
in class JavaPlatform
list
- the function library list that is to be extendedconfig
- the ConfigurationhostLanguage
- the host language, for example Configuration.XQUERYpublic void registerAllBuiltInObjectModels(Configuration config)
registerAllBuiltInObjectModels
in interface Platform
registerAllBuiltInObjectModels
in class JavaPlatform
public StringCollator makeUcaCollator(java.lang.String uri, Configuration config) throws XPathException
makeUcaCollator
in interface Platform
makeUcaCollator
in class JavaPlatform
uri
- the collation URI (which will always be a UCA collation URI as defined in XSLT 3.0)config
- the Saxon configurationXPathException
- if the URI is malformed in some wayCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.