Package org.basex.build.xml
Class DOMWrapper
java.lang.Object
org.basex.core.jobs.Job
org.basex.build.Parser
org.basex.build.xml.DOMWrapper
This class converts an DOM document instance to a database representation.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns detailed progress information.voidParses all nodes and sends events to the specified builder.doubleReturns a progress value (0 - 1).Methods inherited from class org.basex.build.Parser
close, emptyParser, info, singleParser, target, xmlParser
-
Constructor Details
-
DOMWrapper
Constructor.- Parameters:
doc- document instancefn- filenameopts- database options
-
-
Method Details
-
parse
Description copied from class:ParserParses all nodes and sends events to the specified builder.- Specified by:
parsein classParser- Parameters:
builder- database builder- Throws:
IOException- I/O exception
-
detailedInfo
Description copied from class:JobReturns detailed progress information. Can be overwritten to give more specific feedback.- Overrides:
detailedInfoin classJob- Returns:
- header information
-
progressInfo
public double progressInfo()Description copied from class:JobReturns a progress value (0 - 1). Can be overwritten to give more specific feedback.- Overrides:
progressInfoin classJob- Returns:
- header information
-