Namespace

Namespace bean attributes

A Namespace is created using a Spring bean with the following attributes:

Attribute Value Description
id User-defined A unique ID for the bean.
parent xml.namespace.abstract The parent bean.

Namespace bean properties

The Namespace bean takes the following properties:

Property Type Mandatory Description
prefix String Required Unique prefix for the namespace.
uri String Required Unique URI for the namespace.

Namespace bean example

Debugging

To debug your Namespace, add the following entry to your log4j.properties file:

log4j.logger.com.componize.xml.namespace.Namespace=debug