com.canoo.webtest.plugins.pdftest.htmlunit.pdfbox
Class PdfBoxPDFField

java.lang.Object
  extended by com.canoo.webtest.plugins.pdftest.htmlunit.pdfbox.PdfBoxPDFField
All Implemented Interfaces:
PDFField

public class PdfBoxPDFField
extends Object
implements PDFField

Implementation of PDFField based on PDFBox.

Author:
Etienne Studer, Marc Guillemot

Nested Class Summary
protected static class PdfBoxPDFField.FieldPredicate
           
 
Nested classes/interfaces inherited from interface com.canoo.webtest.plugins.pdftest.htmlunit.PDFField
PDFField.Type
 
Field Summary
 
Fields inherited from interface com.canoo.webtest.plugins.pdftest.htmlunit.PDFField
CHECKBOX, CHOICE_FIELD, OTHER, PUSH_BUTTON, RADIO_COLLECTION, SIGNATURE, TEXTBOX
 
Method Summary
 String getName()
          Gets the field name
 org.apache.pdfbox.pdmodel.interactive.form.PDField getNativeField()
           
protected static int getPageNumber(org.apache.pdfbox.pdmodel.interactive.form.PDField nativeField)
           
 String getValue()
           
 boolean isReadOnly()
           
 String toString()
           
static PDFField wrap(org.apache.pdfbox.pdmodel.interactive.form.PDField nativeField)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public String toString()
Overrides:
toString in class Object

getValue

public String getValue()
Specified by:
getValue in interface PDFField

getPageNumber

protected static int getPageNumber(org.apache.pdfbox.pdmodel.interactive.form.PDField nativeField)

getNativeField

public org.apache.pdfbox.pdmodel.interactive.form.PDField getNativeField()

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface PDFField

getName

public String getName()
Gets the field name

Specified by:
getName in interface PDFField

wrap

public static PDFField wrap(org.apache.pdfbox.pdmodel.interactive.form.PDField nativeField)

Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved.