Package org.geotools.xml
Interface PrintHandler
-
public interface PrintHandler
PrintHandler accepts SAXish events and generated output.- Author:
- dzwiers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
characters(char[] arg0, int arg1, int arg2)
void
characters(String s)
void
element(URI namespaceURI, String localName, Attributes attributes)
void
endDocument()
void
endElement(URI namespaceURI, String localName)
Element
findElement(Object value)
Tries to find an appropriate Element so represent the value.Element
findElement(String name)
Schema
getDocumentSchema()
Returns the default Schema for the document being printedObject
getHint(Object key)
void
ignorableWhitespace(char[] arg0, int arg1, int arg2)
void
startDocument()
void
startElement(URI namespaceURI, String localName, Attributes attributes)
-
-
-
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.
-
-