public interface XmlResourceElementLoader
| Modifier and Type | Method and Description |
|---|---|
javax.xml.namespace.QName |
getType()
Returns the QName of the element type this loader handles.
|
void |
load(javax.xml.stream.XMLStreamReader reader,
Resource resource,
IntrospectionContext context)
Loads the element.
|
javax.xml.namespace.QName getType()
void load(javax.xml.stream.XMLStreamReader reader,
Resource resource,
IntrospectionContext context)
throws org.fabric3.api.host.Fabric3Exception,
javax.xml.stream.XMLStreamException
reader - the reader positioned on the first elementresource - the resource that contains the elementcontext - the context to which validation errors and warnings are reportedorg.fabric3.api.host.Fabric3Exception - if a general load error occursjavax.xml.stream.XMLStreamException - if there is an error reading the XML stream