org.apache.poi.xdgf.usermodel.shape
Class ShapeDataAcceptor

java.lang.Object
  extended by 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
ShapeDataAcceptor()
           
 
Method Summary
 boolean accept(XDGFShape shape)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeDataAcceptor

public ShapeDataAcceptor()
Method Detail

accept

public boolean accept(XDGFShape shape)
Specified by:
accept in interface ShapeVisitorAcceptor