Package org.apache.tika.parser.hook
Class ParseHooks.Run
java.lang.Object
org.apache.tika.parser.hook.ParseHooks.Run
- All Implemented Interfaces:
TransientParseState
- Enclosing class:
ParseHooks
Marks a top-level parse in progress; tracks the documents being parsed, outermost last.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncurrent()The document whose parser is running; null between documents.Enters a document; returns the one whose parser embedded it, null at the top.voidexit()The id path of an open document; null for the top-level one or a closed one.parent()The document the current one is embedded in; null at the top.
-
Constructor Details
-
Run
public Run()
-
-
Method Details
-
enter
Enters a document; returns the one whose parser embedded it, null at the top. A document the recursive wrapper did not number gets an id path in the wrapper's scheme, so a result written outside the wrapper still names where it came from. -
exit
public void exit() -
current
The document whose parser is running; null between documents. -
parent
The document the current one is embedded in; null at the top. -
idPath
The id path of an open document; null for the top-level one or a closed one.
-