Class OrthoElementLocator

All Implemented Interfaces:
Visitor<OrthographyElement>

public class OrthoElementLocator extends AbstractOrthographyVisitor
Find string index of OrthographyElements Usage:
     ortho = Orthography.parseOrthography("hello world");
     var visitor = new OrthoElementLocator(ortho.elementAt(1));
     ortho.accept(visitor);
     // stringIndex will be 6
     int stringIndex = visitor.getStringIndex()