Interface ElementNamespace

All Superinterfaces:
ElementMetaBase
All Known Implementing Classes:
AbstractElementNamespace, DefaultElementNamespace

public interface ElementNamespace extends ElementMetaBase
ElementNamespace stores all element tag classes for the namespace.
Version:
1.0 Oct 28, 2009
Author:
Willem Cazander
  • Method Details

    • setPrefixMapping

      void setPrefixMapping(String prefixMapping)
      Sets the prefix mapping.
      Parameters:
      prefixMapping - The prefix mapping to set.
    • getPrefixMapping

      String getPrefixMapping()
      Gets the set prefix mapping of this namespace.
      Returns:
      Returns the prefix mapping.
    • setElementNamespaceInstanceProvider

      void setElementNamespaceInstanceProvider(ElementNamespaceInstanceProvider elementNamespaceInstanceProvider)
      Sets the elememen instance provider which creates the elements objects.
      Parameters:
      elementNamespaceInstanceProvider - The ElementNamespaceInstanceProvider to set.
    • getElementNamespaceInstanceProvider

      ElementNamespaceInstanceProvider getElementNamespaceInstanceProvider()
      Returns the ElementProvider.
      Returns:
      Returns the ElementNamespaceInstanceProvider for this namespace.
    • addElementClass

      void addElementClass(ElementClass elementClass)
      Adds an ElementClass.
      Parameters:
      elementClass - The elementClass to add to this context.
    • getElementClass

      ElementClass getElementClass(String tag)
      Gets the ElementClass for an namespace and tag.
      Parameters:
      tag - The tag to get the ElementClass for.
      Returns:
      Returns the ElementClass for a tag in an namespace.
    • getElementClasses

      List<ElementClass> getElementClasses()
      Returns the loaded ElementClass'es in an namespace in this context.
      Returns:
      Returns all ElementClasses handled by this namespace.
    • getUri

      String getUri()
      Returns:
      the uri of this namespace.
    • setUri

      void setUri(String uri)
      Parameters:
      uri - the namespace uri to set.
    • getName

      String getName()
      Returns:
      the name.
    • setName

      void setName(String name)
      Parameters:
      name - the name to set.
    • getSchemaUri

      String getSchemaUri()
      Returns:
      the schemaUri.
    • setSchemaUri

      void setSchemaUri(String schemaUri)
      Parameters:
      schemaUri - the schemaUri to set.
    • getSchemaResource

      String getSchemaResource()
      Returns:
      the schemaResource.
    • setSchemaResource

      void setSchemaResource(String schemaResource)
      Parameters:
      schemaResource - the schemaResource to set.
    • getDescription

      String getDescription()
      Description copied from interface: ElementMetaBase
      Returns the description of the ElementMetaBase.
      Specified by:
      getDescription in interface ElementMetaBase
      Returns:
      the description.
    • setDescription

      void setDescription(String description)
      Description copied from interface: ElementMetaBase
      Sets the description of the ElementMetaBase.
      Specified by:
      setDescription in interface ElementMetaBase
      Parameters:
      description - the description to set.
    • getLanguageRoot

      Boolean getLanguageRoot()
      Returns:
      the languageRoot
    • setLanguageRoot

      void setLanguageRoot(Boolean languageRoot)
      Parameters:
      languageRoot - the languageRoot to set
    • getSchemaPrefix

      String getSchemaPrefix()
      Returns:
      the schemaPrefix
    • setSchemaPrefix

      void setSchemaPrefix(String schemaPrefix)
      Parameters:
      schemaPrefix - the schemaPrefix to set
    • addElementNamespaceAttribute

      void addElementNamespaceAttribute(ElementNamespaceAttribute elementNamespaceAttribute)
      Adds an ElementNamespaceAttribute.
      Parameters:
      elementNamespaceAttribute - Adds an ElementNamespaceAttribute.
    • getElementNamespaceAttributes

      List<ElementNamespaceAttribute> getElementNamespaceAttributes()
      Geta All ElementNamespaceAttributes.
      Returns:
      Returns an List of ElementNamespaceAttributes.