public class LineNumberSAXBuilder
extends org.jdom.input.SAXBuilder
LineNumberElement
to provide each element with information on its beginning and
ending line number in the corresponding source.
This only works for SAX parsers that supply that information, and
since this is optional, there are no guarantees.
Note that this builder always creates its own for each build, thereby cancelling any previous call to setFactory.
All elements created are instances of LineNumberElement
.
No other construct currently receive line number information.
Constructor and Description |
---|
LineNumberSAXBuilder() |
Modifier and Type | Method and Description |
---|---|
protected org.jdom.input.SAXHandler |
createContentHandler() |
build, build, build, build, build, build, build, build, configureContentHandler, configureParser, createParser, getDriverClass, getDTDHandler, getEntityResolver, getErrorHandler, getExpandEntities, getFactory, getIgnoringBoundaryWhitespace, getIgnoringElementContentWhitespace, getReuseParser, getValidation, getXMLFilter, setDTDHandler, setEntityResolver, setErrorHandler, setExpandEntities, setFactory, setFastReconfigure, setFeature, setIgnoringBoundaryWhitespace, setIgnoringElementContentWhitespace, setProperty, setReuseParser, setValidation, setXMLFilter
Copyright © 2017. All rights reserved.