|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TagProcessorFactory
A TagProcessorFactory creates TagProcessors used by the XMLWorker.
| Method Summary | |
|---|---|
void |
addProcessor(TagProcessor processor,
String... tags)
Add a tag processor and the tags it maps to. |
TagProcessor |
getProcessor(String tag,
String nameSpace)
Looks up a TagProcessor for the given tag. |
void |
removeProcessor(String tag)
Removes a TagProcessor for a specific tag. |
| Method Detail |
|---|
TagProcessor getProcessor(String tag,
String nameSpace)
throws NoTagProcessorException
tag - the tag to find a processor for.nameSpace - the namespace
TagProcessor mapped to this tag.
NoTagProcessorException - implementers should thrown this if there is no mapping found.
void addProcessor(TagProcessor processor,
String... tags)
processor - the TagProcessor.tags - tags this processor maps to.void removeProcessor(String tag)
tag - the tag to remove the processor for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||