nu.validator.messages
Class MessageEmitter

java.lang.Object
  extended by nu.validator.messages.MessageEmitter
Direct Known Subclasses:
JsonMessageEmitter, TextMessageEmitter, XhtmlMessageEmitter, XmlMessageEmitter

public abstract class MessageEmitter
extends Object


Constructor Summary
MessageEmitter()
           
 
Method Summary
 void endElaboration()
           
 void endFullSource()
           
abstract  void endMessage()
           
 void endMessages()
           
 void endResult()
           
 void endSource()
           
 void endText()
           
 ContentHandler startElaboration()
           
 SourceHandler startFullSource()
           
abstract  void startMessage(MessageType type, String systemId, int oneBasedFirstLine, int oneBasedFirstColumn, int oneBasedLastLine, int oneBasedLastColumn, boolean exact)
           
 void startMessages(String documentUri, boolean willShowSource)
           
 ResultHandler startResult()
           
 SourceHandler startSource()
           
 MessageTextHandler startText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageEmitter

public MessageEmitter()
Method Detail

startMessages

public void startMessages(String documentUri,
                          boolean willShowSource)
                   throws SAXException
Throws:
SAXException

endMessages

public void endMessages()
                 throws SAXException
Throws:
SAXException

startMessage

public abstract void startMessage(MessageType type,
                                  String systemId,
                                  int oneBasedFirstLine,
                                  int oneBasedFirstColumn,
                                  int oneBasedLastLine,
                                  int oneBasedLastColumn,
                                  boolean exact)
                           throws SAXException
Throws:
SAXException

endMessage

public abstract void endMessage()
                         throws SAXException
Throws:
SAXException

startText

public MessageTextHandler startText()
                             throws SAXException
Throws:
SAXException

endText

public void endText()
             throws SAXException
Throws:
SAXException

startSource

public SourceHandler startSource()
                          throws SAXException
Throws:
SAXException

endSource

public void endSource()
               throws SAXException
Throws:
SAXException

startElaboration

public ContentHandler startElaboration()
                                throws SAXException
Throws:
SAXException

endElaboration

public void endElaboration()
                    throws SAXException
Throws:
SAXException

startFullSource

public SourceHandler startFullSource()
                              throws SAXException
Throws:
SAXException

endFullSource

public void endFullSource()
                   throws SAXException
Throws:
SAXException

startResult

public ResultHandler startResult()
                          throws SAXException
Throws:
SAXException

endResult

public void endResult()
               throws SAXException
Throws:
SAXException