Package org.apache.padaf.preflight.contentstream

Examples of org.apache.padaf.preflight.contentstream.ContentStreamWrapper


   * @throws ValidationException
   */
  protected boolean validateXObjectContent(List<ValidationError> result)
      throws ValidationException {

    ContentStreamWrapper csWrapper = new ContentStreamWrapper(handler);
    List<ValidationError> csParseErrors = csWrapper
        .validXObjContentStream(pdXObj);
    if (csParseErrors == null
        || (csParseErrors != null && csParseErrors.isEmpty())) {
      return true;
    }
View Full Code Here


   * @throws ValidationException
   */
  protected boolean validateContent(PDPage page, DocumentHandler handler,
      List<ValidationError> result) throws ValidationException {

    ContentStreamWrapper csWrapper = new ContentStreamWrapper(handler);
    List<ValidationError> csParseErrors = csWrapper.validPageContentStream(page);
    if (csParseErrors == null || csParseErrors.isEmpty()) {
      return true;
    }

    result.addAll(csParseErrors);
View Full Code Here

   * @return
   * @throws ValidationException
   */
  protected boolean parsePatternContent(List<ValidationError> errors)
      throws ValidationException {
    ContentStreamWrapper csWrapper = new ContentStreamWrapper(documentHandler);
    List<ValidationError> csParseErrors = csWrapper
        .validPatternContentStream(pattern);
    if (csParseErrors == null
        || (csParseErrors != null && csParseErrors.isEmpty())) {
      return true;
    }
View Full Code Here

TOP

Related Classes of org.apache.padaf.preflight.contentstream.ContentStreamWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.