Class StructuredSyntaxHandler

java.lang.Object
org.xml.sax.helpers.DefaultHandler
groovy.console.ui.text.StructuredSyntaxHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class StructuredSyntaxHandler
extends org.xml.sax.helpers.DefaultHandler
  • Field Details

  • Constructor Details

    • StructuredSyntaxHandler

      public StructuredSyntaxHandler​(StructuredSyntaxDocumentFilter filter)
      Creates a new instance of MasterFrameHandler
      Parameters:
      filter -
  • Method Details

    • characters

      public void characters​(char[] ch, int start, int length)
      Specified by:
      characters in interface org.xml.sax.ContentHandler
      Overrides:
      characters in class org.xml.sax.helpers.DefaultHandler
    • endDocument

      public void endDocument() throws org.xml.sax.SAXException
      Specified by:
      endDocument in interface org.xml.sax.ContentHandler
      Overrides:
      endDocument in class org.xml.sax.helpers.DefaultHandler
      Throws:
      org.xml.sax.SAXException
    • endElement

      public void endElement​(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
      Specified by:
      endElement in interface org.xml.sax.ContentHandler
      Overrides:
      endElement in class org.xml.sax.helpers.DefaultHandler
      Throws:
      org.xml.sax.SAXException
    • error

      public void error​(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
      Specified by:
      error in interface org.xml.sax.ErrorHandler
      Overrides:
      error in class org.xml.sax.helpers.DefaultHandler
      Throws:
      org.xml.sax.SAXException
    • startDocument

      public void startDocument() throws org.xml.sax.SAXException
      Specified by:
      startDocument in interface org.xml.sax.ContentHandler
      Overrides:
      startDocument in class org.xml.sax.helpers.DefaultHandler
      Throws:
      org.xml.sax.SAXException
    • startElement

      public void startElement​(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
      Specified by:
      startElement in interface org.xml.sax.ContentHandler
      Overrides:
      startElement in class org.xml.sax.helpers.DefaultHandler
      Throws:
      org.xml.sax.SAXException