public interface XmlIndexerRegistry
| Modifier and Type | Method and Description |
|---|---|
void |
index(Resource resource,
javax.xml.stream.XMLStreamReader reader,
IntrospectionContext context)
Dispatch to an XMLIndexer based on the element type of the resource document tag.
|
void |
register(XmlIndexer indexer)
Register a XmlIndexer using the processor's QName type as the key
|
void |
unregister(javax.xml.namespace.QName name)
Unregister an XmlIndexer for a QName
|
void register(XmlIndexer indexer)
indexer - the indexer to registervoid unregister(javax.xml.namespace.QName name)
name - the QNamevoid index(Resource resource, javax.xml.stream.XMLStreamReader reader, IntrospectionContext context) throws org.fabric3.api.host.Fabric3Exception
resource - the resource being indexedreader - the reader positioned on the start element of the first tagcontext - the context to which validation errors and warnings are reportedorg.fabric3.api.host.Fabric3Exception - if an error occurs during indexing