Modifier and Type | Field and Description |
---|---|
protected XMLReporter |
Access | Constructor and Description |
---|---|
public | |
public | StaxErrorReporter()
Creates a new instance of StaxErrorReporter If this constructor is used to create the object, one must invoke reset() on this object. |
Modifier and Type | Method and Description |
---|---|
pack-priv Location | |
public String | reportError(XMLLocator
The error location. location, String The error domain. domain, String The key of the error message. key, Object[] The replacement arguments for the error message,
if needed. arguments, short The severity of the error. severity)Overrides com. Reports an error at a specific location. |
public void |
fXMLReporter | back to summary |
---|---|
protected XMLReporter fXMLReporter |
StaxErrorReporter | back to summary |
---|---|
public StaxErrorReporter(PropertyManager propertyManager) Creates a new instance of StaxErrorReporter |
StaxErrorReporter | back to summary |
---|---|
public StaxErrorReporter() Creates a new instance of StaxErrorReporter If this constructor is used to create the object, one must invoke reset() on this object. |
convertToStaxLocation | back to summary |
---|---|
pack-priv Location convertToStaxLocation(final XMLLocator location) |
reportError | back to summary |
---|---|
public String reportError(XMLLocator location, String domain, String key, Object[] arguments, short severity) throws XNIException Overrides com. Reports an error at a specific location.
|
reset | back to summary |
---|---|
public void reset(PropertyManager propertyManager) One must call reset before using any of the function. |