| Modifier and Type | Field and Description |
|---|---|
| private final ReaderEventListener | |
| private final ProblemReporter | |
| private final Resource | |
| private final SourceExtractor |
| Access | Constructor and Description |
|---|---|
| public | ReaderContext(Resource
the XML bean definition resource resource, ProblemReporter the problem reporter in use problemReporter, ReaderEventListener the event listener in use eventListener, SourceExtractor the source extractor in use sourceExtractor)Construct a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | |
| public Object | Returns: the source object to store, ornull for none.the original source object sourceCandidate)Call the source extractor for the given source object. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | fireImportProcessed(String importedResource, Resource[] actualResources, Object source)
Fire an import-processed event. |
| public final Resource | |
| public SourceExtractor | |
| public void | |
| public void | |
| public void | |
| public void | warning(String message, Object source, ParseState parseState, Throwable cause)
Raise a non-critical warning. |
| eventListener | back to summary |
|---|---|
| private final ReaderEventListener eventListener | |
| problemReporter | back to summary |
|---|---|
| private final ProblemReporter problemReporter | |
| resource | back to summary |
|---|---|
| private final Resource resource | |
| sourceExtractor | back to summary |
|---|---|
| private final SourceExtractor sourceExtractor | |
| ReaderContext | back to summary |
|---|---|
| public ReaderContext(Resource resource, ProblemReporter problemReporter, ReaderEventListener eventListener, SourceExtractor sourceExtractor) Construct a new
| |
| error | back to summary |
|---|---|
| public void error(String message, Object source) Raise a regular error. | |
| error | back to summary |
|---|---|
| public void error(String message, Object source, Throwable cause) Raise a regular error. | |
| error | back to summary |
|---|---|
| public void error(String message, Object source, ParseState parseState) Raise a regular error. | |
| error | back to summary |
|---|---|
| public void error(String message, Object source, ParseState parseState, Throwable cause) Raise a regular error. | |
| extractSource | back to summary |
|---|---|
| public Object extractSource(Object sourceCandidate) Call the source extractor for the given source object.
| |
| fatal | back to summary |
|---|---|
| public void fatal(String message, Object source) Raise a fatal error. | |
| fatal | back to summary |
|---|---|
| public void fatal(String message, Object source, Throwable cause) Raise a fatal error. | |
| fatal | back to summary |
|---|---|
| public void fatal(String message, Object source, ParseState parseState) Raise a fatal error. | |
| fatal | back to summary |
|---|---|
| public void fatal(String message, Object source, ParseState parseState, Throwable cause) Raise a fatal error. | |
| fireAliasRegistered | back to summary |
|---|---|
| public void fireAliasRegistered(String beanName, String alias, Object source) Fire an alias-registered event. | |
| fireComponentRegistered | back to summary |
|---|---|
| public void fireComponentRegistered(ComponentDefinition componentDefinition) Fire a component-registered event. | |
| fireDefaultsRegistered | back to summary |
|---|---|
| public void fireDefaultsRegistered(DefaultsDefinition defaultsDefinition) Fire a defaults-registered event. | |
| fireImportProcessed | back to summary |
|---|---|
| public void fireImportProcessed(String importedResource, Object source) Fire an import-processed event. | |
| fireImportProcessed | back to summary |
|---|---|
| public void fireImportProcessed(String importedResource, Resource[] actualResources, Object source) Fire an import-processed event. | |
| getResource | back to summary |
|---|---|
| public final Resource getResource() | |
| getSourceExtractor | back to summary |
|---|---|
| public SourceExtractor getSourceExtractor() Return the source extractor in use. | |
| warning | back to summary |
|---|---|
| public void warning(String message, Object source) Raise a non-critical warning. | |
| warning | back to summary |
|---|---|
| public void warning(String message, Object source, Throwable cause) Raise a non-critical warning. | |
| warning | back to summary |
|---|---|
| public void warning(String message, Object source, ParseState parseState) Raise a non-critical warning. | |
| warning | back to summary |
|---|---|
| public void warning(String message, Object source, ParseState parseState, Throwable cause) Raise a non-critical warning. | |