Package org.xhtmlrenderer.pdf
Class DocumentSplitter
java.lang.Object
org.xhtmlrenderer.pdf.DocumentSplitter
- All Implemented Interfaces:
ContentHandler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
private static final class
private static final record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DocumentSplitter.NamespaceScope
private int
private TransformerHandler
private final SAXEventRecorder
private boolean
private boolean
private Locator
private boolean
private boolean
private final List<DocumentSplitter.ProcessingInstruction>
private boolean
private static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] ch, int start, int length) void
void
endElement
(String uri, String localName, String qName) void
endPrefixMapping
(String prefix) void
ignorableWhitespace
(char[] ch, int start, int length) void
processingInstruction
(String target, String data) void
setDocumentLocator
(Locator locator) void
skippedEntity
(String name) void
void
startElement
(String uri, String localName, String qName, Attributes attributes) void
startPrefixMapping
(String prefix, String uri) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
HEAD_ELEMENT_NAME
- See Also:
-
_processingInstructions
-
_head
-
_inHead
private boolean _inHead -
_depth
private int _depth -
_needNewNSScope
private boolean _needNewNSScope -
_currentNSScope
-
_needNSScopePop
private boolean _needNSScopePop -
_locator
-
_handler
-
_inDocument
private boolean _inDocument -
_documents
-
_replayedHead
private boolean _replayedHead
-
-
Constructor Details
-
DocumentSplitter
public DocumentSplitter()
-
-
Method Details
-
characters
- Specified by:
characters
in interfaceContentHandler
- Throws:
SAXException
-
endDocument
public void endDocument()- Specified by:
endDocument
in interfaceContentHandler
-
endPrefixMapping
- Specified by:
endPrefixMapping
in interfaceContentHandler
- Throws:
SAXException
-
ignorableWhitespace
- Specified by:
ignorableWhitespace
in interfaceContentHandler
- Throws:
SAXException
-
processingInstruction
- Specified by:
processingInstruction
in interfaceContentHandler
-
setDocumentLocator
- Specified by:
setDocumentLocator
in interfaceContentHandler
-
skippedEntity
- Specified by:
skippedEntity
in interfaceContentHandler
- Throws:
SAXException
-
startDocument
public void startDocument()- Specified by:
startDocument
in interfaceContentHandler
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException - Specified by:
startElement
in interfaceContentHandler
- Throws:
SAXException
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Throws:
SAXException
-
startPrefixMapping
- Specified by:
startPrefixMapping
in interfaceContentHandler
- Throws:
SAXException
-
getDocuments
-