com.calitha.resource
Interface IResourceBuilder


public interface IResourceBuilder

An IResourceBuilder object represents a builder used to create a resource object from a resource DOM element and other specified information.

Author:
Robert van Loenhout

Method Summary
 IResource build(Locale locale, String namespace, URL context, Element resourceElement, Element child)
          Builds a new resource object.
 

Method Detail

build

IResource build(Locale locale,
                String namespace,
                URL context,
                Element resourceElement,
                Element child)
                throws IOException
Builds a new resource object.

Parameters:
locale - locale
namespace - namespace
context - context
resourceElement - resourceElement
child - child
Returns:
new resource object
Throws:
IOException - if an I/O errors occurs
IllegalArgumentException - if an argument is null