Class FullFilePositioner
java.lang.Object
com.github.oowekyala.ooxml.messages.PartialFilePositioner
com.github.oowekyala.ooxml.messages.FullFilePositioner
- All Implemented Interfaces:
XmlPositioner
Scanner with known document context.
-
Field Summary
FieldsFields inherited from class com.github.oowekyala.ooxml.messages.PartialFilePositioner
textDoc -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstartPositionOf(Node node) Returns an object describing the position in the file of the given XML node.Methods inherited from class com.github.oowekyala.ooxml.messages.PartialFilePositioner
getLinesAroundMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.oowekyala.ooxml.messages.XmlPositioner
getLinesAround
-
Field Details
-
scanner
-
-
Constructor Details
-
FullFilePositioner
- Parameters:
fullFileText- Full text of the XML filesystemId- System ID of the XML file, typically a file name
-
-
Method Details
-
startPositionOf
Description copied from interface:XmlPositionerReturns an object describing the position in the file of the given XML node. If no position is available, or if the parameter is null, returns an undefined position.- Specified by:
startPositionOfin interfaceXmlPositioner- Overrides:
startPositionOfin classPartialFilePositioner- Parameters:
node- XML node- Returns:
- A position
-