1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.commons.jelly.impl;
17
18 import org.apache.commons.jelly.JellyException;
19 import org.apache.commons.jelly.Tag;
20
21 import org.xml.sax.Attributes;
22
23 /***
24 * <p><code>TagFactory</code> represents a Factory of {@link Tag} instances.</p>
25 *
26 * <b>Note</b> that this class should be re-entrant and used
27 * concurrently by multiple threads.
28 *
29 * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
30 * @version $Revision: 155420 $
31 */
32 public interface TagFactory {
33
34 /***
35 * Creates a Tag for the given local name and the SAX attributes
36 */
37 public Tag createTag(String name, Attributes attributes) throws JellyException;
38 }