Package org.geotools.xml
Interface PrintHandler
-
public interface PrintHandlerPrintHandler accepts SAXish events and generated output.- Author:
- dzwiers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcharacters(char[] arg0, int arg1, int arg2)voidcharacters(String s)voidelement(URI namespaceURI, String localName, Attributes attributes)voidendDocument()voidendElement(URI namespaceURI, String localName)ElementfindElement(Object value)Tries to find an appropriate Element so represent the value.ElementfindElement(String name)SchemagetDocumentSchema()Returns the default Schema for the document being printedObjectgetHint(Object key)voidignorableWhitespace(char[] arg0, int arg1, int arg2)voidstartDocument()voidstartElement(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.
-
-