java.lang.Object
com.lowagie.text.pdf.XfdfReader
- All Implemented Interfaces:
FieldReader,SimpleXMLDocHandler
Deprecated.
Reads a XFDF.
- Author:
- Leonard Rosenthol (leonardr@pdfsages.com)
-
Constructor Summary
ConstructorsConstructorDescriptionXfdfReader(byte[] xfdfIn) Deprecated.Reads an XFDF form.XfdfReader(String filename) Deprecated.Reads an XFDF form. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Called after the document is parsed.voidendElement(String tag) Deprecated.Called when an end tag is found.Deprecated.Deprecated.Gets the field value.getFieldValue(String name) Deprecated.Gets the field value ornullif the field does not exist or has no value defined.Deprecated.Gets the PDF file specification contained in the FDF.getListValues(String name) Deprecated.Gets the field values for a list ornullif the field does not exist or has no value defined.voidDeprecated.Called when the document starts to be parsed.voidstartElement(String tag, Map<String, String> h) Deprecated.Called when a start tag is found.voidDeprecated.Called when a text element is found.
-
Constructor Details
-
XfdfReader
Deprecated.Reads an XFDF form.- Parameters:
filename- the file name of the form- Throws:
IOException- on error
-
XfdfReader
Deprecated.Reads an XFDF form.- Parameters:
xfdfIn- the byte array with the form- Throws:
IOException- on error
-
-
Method Details
-
getAllFields
Deprecated.- Specified by:
getAllFieldsin interfaceFieldReader
-
getField
Deprecated.Gets the field value.- Parameters:
name- the fully qualified field name- Returns:
- the field's value
-
getFieldValue
Deprecated.Gets the field value ornullif the field does not exist or has no value defined.- Specified by:
getFieldValuein interfaceFieldReader- Parameters:
name- the fully qualified field name- Returns:
- the field value or
null
-
getListValues
Deprecated.Gets the field values for a list ornullif the field does not exist or has no value defined.- Specified by:
getListValuesin interfaceFieldReader- Parameters:
name- the fully qualified field name- Returns:
- the field values or
null - Since:
- 2.1.4
-
getFileSpec
Deprecated.Gets the PDF file specification contained in the FDF.- Returns:
- the PDF file specification contained in the FDF
-
startElement
Deprecated.Called when a start tag is found.- Specified by:
startElementin interfaceSimpleXMLDocHandler- Parameters:
tag- the tag nameh- the tag's attributes
-
endElement
Deprecated.Called when an end tag is found.- Specified by:
endElementin interfaceSimpleXMLDocHandler- Parameters:
tag- the tag name
-
startDocument
public void startDocument()Deprecated.Called when the document starts to be parsed.- Specified by:
startDocumentin interfaceSimpleXMLDocHandler
-
endDocument
public void endDocument()Deprecated.Called after the document is parsed.- Specified by:
endDocumentin interfaceSimpleXMLDocHandler
-
text
Deprecated.Called when a text element is found.- Specified by:
textin interfaceSimpleXMLDocHandler- Parameters:
str- the text element, probably a fragment.
-