public class JavaPlatformPE extends JavaPlatform
| 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, loadParserForXmlFragments, makeCollation, makeGeneratedClassLoader, makeStandardModuleURIResolver, setDefaultSAXParserFactorypublic JavaPlatformPE()
public boolean hasICUCollator()
hasICUCollator in interface PlatformhasICUCollator in class JavaPlatformpublic boolean hasICUNumberer()
hasICUNumberer in interface PlatformhasICUNumberer in class JavaPlatformpublic void initialize(Configuration config)
initialize in interface Platforminitialize in class JavaPlatformconfig - the Saxon Configurationpublic void addFunctionLibraries(FunctionLibraryList list, Configuration config, int hostLanguage)
addFunctionLibraries in class JavaPlatformlist - 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 PlatformregisterAllBuiltInObjectModels in class JavaPlatformconfig - the Saxon configurationpublic StringCollator makeUcaCollator(java.lang.String uri, Configuration config) throws XPathException
makeUcaCollator in interface PlatformmakeUcaCollator in class JavaPlatformuri - 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-2020 Saxonica Limited. All rights reserved.