Interface ComponentsXmlParser
-
- All Known Implementing Classes:
DefaultComponentXmlParser
public interface ComponentsXmlParserA components XML parsers contains information required to parse components contained by a single component bundle.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XmlDigesterConfigurergetDigesterConfigurer()Returns a digester configurer for the component bundle.StringgetInternalSchemaResource()Returns a resource name that resolves to an internal XML schema resource.StringgetNamespace()Returns the namespace used by the component bundle.StringgetPublicSchemaLocation()Returns the public location of the component bundle XML schema.
-
-
-
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
schemaLocationXML 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
Componentinstance.- Returns:
- a digester configurer
-
-