org.geotools.xml
Interface PrintHandler


public interface PrintHandler

PrintHandler accepts SAXish events and generated output.

Author:
dzwiers

Method Summary
 void characters(char[] arg0, int arg1, int arg2)
          DOCUMENT ME!
 void characters(java.lang.String s)
          DOCUMENT ME!
 void element(java.net.URI namespaceURI, java.lang.String localName, org.xml.sax.Attributes attributes)
          DOCUMENT ME!
 void endDocument()
          DOCUMENT ME!
 void endElement(java.net.URI namespaceURI, java.lang.String localName)
          DOCUMENT ME!
 Element findElement(java.lang.Object value)
          Tries to find an appropriate Element so represent the value.
 Element findElement(java.lang.String name)
           
 Schema getDocumentSchema()
          Returns the default Schema for the document being printed
 java.lang.Object getHint(java.lang.Object key)
           
 void ignorableWhitespace(char[] arg0, int arg1, int arg2)
          DOCUMENT ME!
 void startDocument()
          DOCUMENT ME!
 void startElement(java.net.URI namespaceURI, java.lang.String localName, org.xml.sax.Attributes attributes)
          DOCUMENT ME!
 

Method Detail

startElement

public void startElement(java.net.URI namespaceURI,
                         java.lang.String localName,
                         org.xml.sax.Attributes attributes)
                  throws java.io.IOException
DOCUMENT ME!

Parameters:
namespaceURI - DOCUMENT ME!
localName - DOCUMENT ME!
attributes - DOCUMENT ME!
Throws:
java.io.IOException

element

public void element(java.net.URI namespaceURI,
                    java.lang.String localName,
                    org.xml.sax.Attributes attributes)
             throws java.io.IOException
DOCUMENT ME!

Parameters:
namespaceURI - DOCUMENT ME!
localName - DOCUMENT ME!
attributes - DOCUMENT ME!
Throws:
java.io.IOException

endElement

public void endElement(java.net.URI namespaceURI,
                       java.lang.String localName)
                throws java.io.IOException
DOCUMENT ME!

Parameters:
namespaceURI - DOCUMENT ME!
localName - DOCUMENT ME!
Throws:
java.io.IOException

characters

public void characters(char[] arg0,
                       int arg1,
                       int arg2)
                throws java.io.IOException
DOCUMENT ME!

Parameters:
arg0 - DOCUMENT ME!
arg1 - DOCUMENT ME!
arg2 - DOCUMENT ME!
Throws:
java.io.IOException

characters

public void characters(java.lang.String s)
                throws java.io.IOException
DOCUMENT ME!

Parameters:
s - DOCUMENT ME!
Throws:
java.io.IOException

ignorableWhitespace

public void ignorableWhitespace(char[] arg0,
                                int arg1,
                                int arg2)
                         throws java.io.IOException
DOCUMENT ME!

Parameters:
arg0 - DOCUMENT ME!
arg1 - DOCUMENT ME!
arg2 - DOCUMENT ME!
Throws:
java.io.IOException

startDocument

public void startDocument()
                   throws java.io.IOException
DOCUMENT ME!

Throws:
java.io.IOException

endDocument

public void endDocument()
                 throws java.io.IOException
DOCUMENT ME!

Throws:
java.io.IOException

getDocumentSchema

public Schema getDocumentSchema()
Returns the default Schema for the document being printed

Returns:
Schema

findElement

public Element findElement(java.lang.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

public Element findElement(java.lang.String name)

getHint

public java.lang.Object getHint(java.lang.Object key)


Copyright © GeoTools. All Rights Reserved.