public interface XmlProcessorRegistry
| Modifier and Type | Method and Description |
|---|---|
void |
process(Contribution contribution,
javax.xml.stream.XMLStreamReader reader,
IntrospectionContext context)
Dispatches to an XmlProcessor
|
void |
register(XmlProcessor processor)
Register a XmlProcessor using the processor's QName type as the key
|
void |
unregister(javax.xml.namespace.QName name)
Unregister an XmlProcessor for a QName
|
void register(XmlProcessor processor)
processor - the processor to registervoid unregister(javax.xml.namespace.QName name)
name - the QNamevoid process(Contribution contribution, javax.xml.stream.XMLStreamReader reader, IntrospectionContext context) throws org.fabric3.api.host.Fabric3Exception
contribution - the contribution metadata to updatereader - the reader positioned at the first element of the documentcontext - the context to which validation errors and warnings are reportedorg.fabric3.api.host.Fabric3Exception - if an error occurs processing