-
All Implemented Interfaces:
-
ShapeVisitorAcceptor
public class ShapeDataAcceptor
extends java.lang.Object
implements ShapeVisitorAcceptor
This acceptor only allows traversal to shapes that have useful data associated with them, and tries to elide details that aren't useful when analyzing the content of a document. Useful is subjective of course, and is defined as any of: - Has non-empty text - Is a 1d shape, such as a line - User specified shapes - The outline of stencil objects - TODO
(此接受器仅允许遍历具有与其关联的有用数据的形状,并尝试省略在分析文档内容时无用的细节。有用当然是主观的,并且被定义为: - 具有非空文本 - 是一维形状,例如线条 - 用户指定的形状 - 模板对象的轮廓 - TODO)