Class ShapeDataAcceptor
- java.lang.Object
-
- org.apache.poi.xdgf.usermodel.shape.ShapeDataAcceptor
-
- 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
-
-
Constructor Summary
Constructors Constructor Description ShapeDataAcceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(XDGFShape shape)
-
-
-
Method Detail
-
accept
public boolean accept(XDGFShape shape)
- Specified by:
accept
in interfaceShapeVisitorAcceptor
-
-