Interface X4OLanguage

All Known Subinterfaces:
X4OLanguageLocal
All Known Implementing Classes:
DefaultX4OLanguage

public interface X4OLanguage
X4OLanguage hold all the base definition properties of x4o xml language.
Version:
1.0 30 apr 2013
Author:
Willem Cazander
  • Method Details

    • getLanguageName

      String getLanguageName()
      Returns the language name of this x4o xml language.
      Returns:
      Returns the language name.
    • getLanguageVersion

      String getLanguageVersion()
      Returns:
      Returns the language version of this language instance.
    • getPhaseManager

      X4OPhaseManager getPhaseManager()
      Returns the phase manager which runs the phases
      Returns:
      Returns the phase manager.
    • getLanguageConfiguration

      X4OLanguageConfiguration getLanguageConfiguration()
      Returns:
      the language configuration.
    • createLanguageSession

      X4OLanguageSession createLanguageSession()
      Creates and fills the initial element language used to store the language.
      Returns:
      The newly created X4OLanguageSession.
    • createElementInstance

      Element createElementInstance(X4OLanguageSession context, Class<?> objectClass)
      Search language for object and create element for it.
      Parameters:
      context - The X4O language context to create for.
      objectClass - The object to search for.
      Returns:
      Returns an new Element instance for the object.
    • findElementBindingHandlers

      List<ElementBindingHandler> findElementBindingHandlers(Object parent)
      Gets all ElementBindingHandlers which are possible for parent.
      Parameters:
      parent - The parent element object or class to search for.
      Returns:
      Returns an List with all ElementBindingHandler for the search.
    • findElementBindingHandlers

      List<ElementBindingHandler> findElementBindingHandlers(Object parent, Object child)
      Gets all ElementBindingHandlers for parent and child combination.
      Parameters:
      parent - The parent element object or class to search for.
      child - The parent element object or class to search for.
      Returns:
      Returns an List with all ElementBindingHandler for the search pair.
    • findElementInterfaces

      List<ElementInterface> findElementInterfaces(Object object)
      Returns list of ElementInterfaces for an element.
      Parameters:
      object - The element object or class to search for.
      Returns:
      The list of elementInterfaces.
    • findElementNamespace

      ElementNamespace findElementNamespace(String namespaceUri)
      Returns the namespace context for an namespace uri.
      Parameters:
      namespaceUri - the namespace uri.
      Returns:
      The ElementNamespace.
    • getLanguageModules

      Collection<X4OLanguageModule> getLanguageModules()
      Returns:
      Returns a collection of element language modules in this defined and loaded language.