Package com.ctc.wstx.sr
Interface InputProblemReporter
-
- All Known Implementing Classes:
BasicStreamReader,FullDTDReader,MinimalDTDReader,StreamScanner,TypedStreamReader,ValidatingStreamReader
public interface InputProblemReporterInterface implemented by input reader, and used by other components to report problem that are related to current input position.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocationgetLocation()voidreportProblem(Location loc, String probType, String format, Object arg, Object arg2)voidreportValidationProblem(String msg)voidreportValidationProblem(String msg, Object arg, Object arg2)voidreportValidationProblem(XMLValidationProblem prob)voidthrowParseError(String msg)voidthrowParseError(String msg, Object arg, Object arg2)
-
-
-
Method Detail
-
throwParseError
void throwParseError(String msg) throws XMLStreamException
- Throws:
XMLStreamException
-
throwParseError
void throwParseError(String msg, Object arg, Object arg2) throws XMLStreamException
- Throws:
XMLStreamException
-
reportValidationProblem
void reportValidationProblem(XMLValidationProblem prob) throws XMLStreamException
- Throws:
XMLStreamException
-
reportValidationProblem
void reportValidationProblem(String msg) throws XMLStreamException
- Throws:
XMLStreamException
-
reportValidationProblem
void reportValidationProblem(String msg, Object arg, Object arg2) throws XMLStreamException
- Throws:
XMLStreamException
-
reportProblem
void reportProblem(Location loc, String probType, String format, Object arg, Object arg2) throws XMLStreamException
- Throws:
XMLStreamException
-
getLocation
Location getLocation()
-
-