public final class StructureTreeBuilder
extends java.lang.Object
Constructor and Description |
---|
StructureTreeBuilder(javax.xml.transform.sax.SAXTransformerFactory factory)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
org.xml.sax.ContentHandler |
getHandlerForNextPageSequence()
Returns a ContenHandler for parsing the structure of a new page sequence.
|
StructureTree |
getStructureTree()
Returns the structure tree that will result from the parsing.
|
public StructureTreeBuilder(javax.xml.transform.sax.SAXTransformerFactory factory)
factory
- a factory internally used to build the structures of page
sequencespublic StructureTree getStructureTree()
public org.xml.sax.ContentHandler getHandlerForNextPageSequence() throws org.xml.sax.SAXException
org.xml.sax.SAXException
- if there is an error when creating the handlerCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.