public class OffsetDocBuilder extends SaxonDocBuilder
writer| Constructor and Description |
|---|
OffsetDocBuilder(net.sf.saxon.s9api.Processor processor) |
| Modifier and Type | Method and Description |
|---|---|
Offsets |
getOffsets() |
void |
handleEvent(XMLStreamReader reader,
int eventType)
This method receives StAX events.
|
boolean |
isFixupCRLF() |
void |
reset()
reinitialize any internal state and prepare the handler for re-use
|
void |
setFixupCRLF(boolean fixupCRLF) |
getDocumentpublic OffsetDocBuilder(net.sf.saxon.s9api.Processor processor)
throws net.sf.saxon.s9api.SaxonApiException
processor - a Saxon processor.net.sf.saxon.s9api.SaxonApiExceptionpublic void reset()
StAXHandlerreset in interface StAXHandlerreset in class SaxonDocBuilderpublic void handleEvent(XMLStreamReader reader, int eventType) throws XMLStreamException
StAXHandlerhandleEvent in interface StAXHandlerhandleEvent in class SaxonDocBuilderreader - the reader from which events are being readeventType - the XML stream event typeXMLStreamExceptionpublic Offsets getOffsets()
getOffsets in class SaxonDocBuilderpublic boolean isFixupCRLF()
public void setFixupCRLF(boolean fixupCRLF)
Copyright © 2013. All Rights Reserved.