Interface ComponentsXmlParser

  • All Known Implementing Classes:
    DefaultComponentXmlParser

    public interface ComponentsXmlParser
    A components XML parsers contains information required to parse components contained by a single component bundle.
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Method Detail

      • getNamespace

        String getNamespace()
        Returns the namespace used by the component bundle.

        The XML representation of the components will use this namespace.

        Returns:
        the component bundle namespace
      • getPublicSchemaLocation

        String getPublicSchemaLocation()
        Returns the public location of the component bundle XML schema.

        This would be listed in schemaLocation XML attributes.

        Returns:
        the public location of the component bundle XML schema
      • getInternalSchemaResource

        String getInternalSchemaResource()
        Returns a resource name that resolves to an internal XML schema resource.

        If not null, the resource (which needs to be present on the classpath) will be used when parsing component XML fragments instead of the public XML schema.

        Returns:
        the name of the internal XML schema resource
      • getDigesterConfigurer

        XmlDigesterConfigurer getDigesterConfigurer()
        Returns a digester configurer for the component bundle.

        The digester configurer is responsible for providing digester rules that transform an XML fragment into a Component instance.

        Returns:
        a digester configurer