public class ReaderContext extends Object
Constructor and Description |
---|
ReaderContext(Resource resource,
ProblemReporter problemReporter,
ReaderEventListener eventListener,
SourceExtractor sourceExtractor) |
Modifier and Type | Method and Description |
---|---|
void |
error(String message,
Object source) |
void |
error(String message,
Object source,
ParseState parseState) |
void |
error(String message,
Object source,
ParseState parseState,
Throwable cause) |
void |
error(String message,
Object source,
Throwable ex) |
Object |
extractSource(Object sourceCandidate) |
void |
fatal(String message,
Object source) |
void |
fatal(String message,
Object source,
ParseState parseState) |
void |
fatal(String message,
Object source,
ParseState parseState,
Throwable cause) |
void |
fatal(String message,
Object source,
Throwable ex) |
void |
fireAliasRegistered(String beanName,
String alias,
Object source) |
void |
fireComponentRegistered(ComponentDefinition componentDefinition) |
void |
fireDefaultsRegistered(DefaultsDefinition defaultsDefinition) |
void |
fireImportProcessed(String importedResource,
Object source) |
void |
fireImportProcessed(String importedResource,
Resource[] actualResources,
Object source) |
Resource |
getResource() |
SourceExtractor |
getSourceExtractor() |
void |
warning(String message,
Object source) |
void |
warning(String message,
Object source,
ParseState parseState) |
void |
warning(String message,
Object source,
ParseState parseState,
Throwable cause) |
void |
warning(String message,
Object source,
Throwable ex) |
public ReaderContext(Resource resource, ProblemReporter problemReporter, ReaderEventListener eventListener, SourceExtractor sourceExtractor)
public final Resource getResource()
public void fatal(String message, Object source, ParseState parseState)
public void fatal(String message, Object source, ParseState parseState, Throwable cause)
public void error(String message, Object source, ParseState parseState)
public void error(String message, Object source, ParseState parseState, Throwable cause)
public void warning(String message, Object source, ParseState parseState)
public void warning(String message, Object source, ParseState parseState, Throwable cause)
public void fireDefaultsRegistered(DefaultsDefinition defaultsDefinition)
public void fireComponentRegistered(ComponentDefinition componentDefinition)
public void fireImportProcessed(String importedResource, Resource[] actualResources, Object source)
public SourceExtractor getSourceExtractor()