Interface PrintHandler


  • public interface PrintHandler
    PrintHandler accepts SAXish events and generated output.
    Author:
    dzwiers
    • Method Detail

      • startElement

        void startElement​(URI namespaceURI,
                          String localName,
                          Attributes attributes)
                   throws IOException
        Throws:
        IOException
      • element

        void element​(URI namespaceURI,
                     String localName,
                     Attributes attributes)
              throws IOException
        Throws:
        IOException
      • endElement

        void endElement​(URI namespaceURI,
                        String localName)
                 throws IOException
        Throws:
        IOException
      • characters

        void characters​(char[] arg0,
                        int arg1,
                        int arg2)
                 throws IOException
        Throws:
        IOException
      • characters

        void characters​(String s)
                 throws IOException
        Throws:
        IOException
      • ignorableWhitespace

        void ignorableWhitespace​(char[] arg0,
                                 int arg1,
                                 int arg2)
                          throws IOException
        Throws:
        IOException
      • startDocument

        void startDocument()
                    throws IOException
        Throws:
        IOException
      • endDocument

        void endDocument()
                  throws IOException
        Throws:
        IOException
      • getDocumentSchema

        Schema getDocumentSchema()
        Returns the default Schema for the document being printed
        Returns:
        Schema
      • findElement

        Element findElement​(Object value)
        Tries to find an appropriate Element so represent the value.
        Parameters:
        value - The Object being attempted to write
        Returns:
        Element The element instance found, or null if not found.
      • findElement

        Element findElement​(String name)
      • getHint

        Object getHint​(Object key)