public interface XmlResourceElementLoaderRegistry
| Modifier and Type | Method and Description |
|---|---|
void |
load(javax.xml.stream.XMLStreamReader reader,
Resource resource,
IntrospectionContext context)
Dispatches to an XmlResourceElementLoader to loads an element in an XML resource
|
void |
register(XmlResourceElementLoader indexer)
Register a XmlResourceElementLoader using the processor's QName type as the key
|
void |
unregister(javax.xml.namespace.QName name)
Unregister an XmlResourceElementLoader for a QName
|
void register(XmlResourceElementLoader indexer)
indexer - the indexer to registervoid unregister(javax.xml.namespace.QName name)
name - the QNamevoid load(javax.xml.stream.XMLStreamReader reader,
Resource resource,
IntrospectionContext context)
throws org.fabric3.api.host.Fabric3Exception,
javax.xml.stream.XMLStreamException
reader - the StAX reader, positioned at the start of the element to laodresource - the resourcecontext - the context to which validation errors and warnings are reportedorg.fabric3.api.host.Fabric3Exception - if a fatal error loading the resource occursorg.fabric3.api.host.Fabric3Exception - if an error parsing the XML stream occursjavax.xml.stream.XMLStreamException