Class AbstractX4OLanguageModule
java.lang.Object
org.x4o.xml.element.AbstractElementMetaBase
org.x4o.xml.lang.AbstractX4OLanguageModule
- All Implemented Interfaces:
ElementMetaBase
,X4OLanguageModule
,X4OLanguageModuleLocal
- Direct Known Subclasses:
DefaultX4OLanguageModule
public abstract class AbstractX4OLanguageModule
extends AbstractElementMetaBase
implements X4OLanguageModuleLocal
An AbstractElementLanguageModule.
- Version:
- 1.0 Aug 2, 2012
- Author:
- Willem Cazander
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addElementBindingHandler
(ElementBindingHandler elementBindingHandler) Adds an ElementBindingHanlder.void
addElementConfiguratorGlobal
(ElementConfiguratorGlobal elementConfigurator) Adds an ElementConfiguratorGlobal.void
addElementInterface
(ElementInterface elementInterface) Adds an ElementInterface.void
addElementNamespace
(ElementNamespace elementNamespace) Adds an namespace to this langauge module.Gets all ElementBindingHandlers.Gets all ElementConfiguratorGlobals.Returns list of ElementInterfaces in this context.getElementNamespace
(String namespaceUri) Returns the namespace context for an namespace uri.Gets module loader meta result info.void
putLoaderResult
(X4OLanguageModuleLoaderResult key, String value) Sets module loader meta result info.void
setProviderHost
(String providerHost) void
setProviderName
(String providerName) Methods inherited from class org.x4o.xml.element.AbstractElementMetaBase
getDescription, getId, setDescription, setId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.x4o.xml.element.ElementMetaBase
getDescription, getId, setDescription, setId
Methods inherited from interface org.x4o.xml.lang.X4OLanguageModule
getDescription, getId
-
Constructor Details
-
AbstractX4OLanguageModule
public AbstractX4OLanguageModule()Creates a new empty ElementLanguage.
-
-
Method Details
-
getProviderName
- Specified by:
getProviderName
in interfaceX4OLanguageModule
- Returns:
- the providerName
-
setProviderName
- Specified by:
setProviderName
in interfaceX4OLanguageModuleLocal
- Parameters:
providerName
- the providerName to set
-
getProviderHost
- Specified by:
getProviderHost
in interfaceX4OLanguageModule
- Returns:
- the providerHost
-
setProviderHost
- Specified by:
setProviderHost
in interfaceX4OLanguageModuleLocal
- Parameters:
providerHost
- the providerHost to set
-
addElementBindingHandler
Description copied from interface:X4OLanguageModuleLocal
Adds an ElementBindingHanlder.- Specified by:
addElementBindingHandler
in interfaceX4OLanguageModuleLocal
- Parameters:
elementBindingHandler
- The ElementBindingHandler to add.- See Also:
-
getElementBindingHandlers
Description copied from interface:X4OLanguageModule
Gets all ElementBindingHandlers.- Specified by:
getElementBindingHandlers
in interfaceX4OLanguageModule
- Returns:
- Returns an List with all ElementBindingHandlers.
- See Also:
-
addElementConfiguratorGlobal
Description copied from interface:X4OLanguageModuleLocal
Adds an ElementConfiguratorGlobal.- Specified by:
addElementConfiguratorGlobal
in interfaceX4OLanguageModuleLocal
- Parameters:
elementConfigurator
- The ElementConfigurtor to add.- See Also:
-
getElementConfiguratorGlobals
Description copied from interface:X4OLanguageModule
Gets all ElementConfiguratorGlobals.- Specified by:
getElementConfiguratorGlobals
in interfaceX4OLanguageModule
- Returns:
- All gloval ElementConfigurators.
- See Also:
-
addElementInterface
Description copied from interface:X4OLanguageModuleLocal
Adds an ElementInterface.- Specified by:
addElementInterface
in interfaceX4OLanguageModuleLocal
- Parameters:
elementInterface
- The elementInterface to add.- See Also:
-
getElementInterfaces
Description copied from interface:X4OLanguageModule
Returns list of ElementInterfaces in this context.- Specified by:
getElementInterfaces
in interfaceX4OLanguageModule
- Returns:
- The list of elementInterfaces.
- See Also:
-
addElementNamespace
Description copied from interface:X4OLanguageModuleLocal
Adds an namespace to this langauge module.- Specified by:
addElementNamespace
in interfaceX4OLanguageModuleLocal
- Parameters:
elementNamespace
- Adds an ElementNamespace to this langauge module.- See Also:
-
getElementNamespace
Description copied from interface:X4OLanguageModule
Returns the namespace context for an namespace uri.- Specified by:
getElementNamespace
in interfaceX4OLanguageModule
- Parameters:
namespaceUri
- the namespace uri.- Returns:
- The ElementNamespace.
- See Also:
-
getElementNamespaces
- Specified by:
getElementNamespaces
in interfaceX4OLanguageModule
- Returns:
- Returns a list of all namespaces defined in this language.
- See Also:
-
getLoaderResult
Description copied from interface:X4OLanguageModule
Gets module loader meta result info.- Specified by:
getLoaderResult
in interfaceX4OLanguageModule
- Parameters:
key
- The key to get info of.- Returns:
- The value of the info.
- See Also:
-
putLoaderResult
Description copied from interface:X4OLanguageModuleLocal
Sets module loader meta result info.- Specified by:
putLoaderResult
in interfaceX4OLanguageModuleLocal
- Parameters:
key
- The key of the info.value
- The value of the info.- See Also:
-