com.ctc.wstx.sr
Interface InputProblemReporter

All Known Implementing Classes:
BasicStreamReader, FullDTDReader, MinimalDTDReader, StreamScanner, TypedStreamReader, ValidatingStreamReader

public interface InputProblemReporter

Interface implemented by input reader, and used by other components to report problem that are related to current input position.


Method Summary
 Location getLocation()
           
 void reportProblem(Location loc, String probType, String format, Object arg, Object arg2)
           
 void reportValidationProblem(String msg)
           
 void reportValidationProblem(String msg, Object arg, Object arg2)
           
 void reportValidationProblem(org.codehaus.stax2.validation.XMLValidationProblem prob)
           
 void throwParseError(String msg)
           
 void throwParseError(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(org.codehaus.stax2.validation.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()


Copyright © 2011 Codehaus. All Rights Reserved.