Package com.pdftools.toolbox.pdf.forms
Class FieldNodeMap
- java.lang.Object
-
- com.pdftools.toolbox.internal.NativeBase
-
- com.pdftools.toolbox.internal.NativeObject
-
- com.pdftools.toolbox.pdf.forms.FieldNodeMap
-
- All Implemented Interfaces:
java.util.Map<java.lang.String,FieldNode>
public class FieldNodeMap extends NativeObject implements java.util.Map<java.lang.String,FieldNode>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Not supported.boolean
containsKey(java.lang.Object key)
boolean
containsValue(java.lang.Object value)
java.util.Set<java.util.Map.Entry<java.lang.String,FieldNode>>
entrySet()
FieldNode
get(java.lang.Object key)
boolean
isEmpty()
java.util.Set<java.lang.String>
keySet()
FieldNode
lookup(java.lang.String identifierPath)
Access a form field by pathFieldNode
put(java.lang.String key, FieldNode value)
void
putAll(java.util.Map<? extends java.lang.String,? extends FieldNode> arg0)
FieldNode
remove(java.lang.Object key)
Not supported.int
size()
java.util.Collection<FieldNode>
values()
-
Methods inherited from class com.pdftools.toolbox.internal.NativeObject
equals, hashCode
-
-
-
-
Method Detail
-
lookup
public FieldNode lookup(java.lang.String identifierPath) throws NotFoundException
Access a form field by path
Lookup the form field node given by the identifier path.- Parameters:
identifierPath
- the identifier path in which sub forms must be delimited by full stops '.'- Returns:
- the resulting form field node.
- Throws:
java.lang.IllegalStateException
- if the document has already been closedNotFoundException
- if no form field with this identifier exists
-
putAll
public void putAll(java.util.Map<? extends java.lang.String,? extends FieldNode> arg0)
- Specified by:
putAll
in interfacejava.util.Map<java.lang.String,FieldNode>
-
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey
in interfacejava.util.Map<java.lang.String,FieldNode>
-
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValue
in interfacejava.util.Map<java.lang.String,FieldNode>
-
get
public FieldNode get(java.lang.Object key)
- Specified by:
get
in interfacejava.util.Map<java.lang.String,FieldNode>
-
entrySet
public java.util.Set<java.util.Map.Entry<java.lang.String,FieldNode>> entrySet()
- Specified by:
entrySet
in interfacejava.util.Map<java.lang.String,FieldNode>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacejava.util.Map<java.lang.String,FieldNode>
-
keySet
public java.util.Set<java.lang.String> keySet()
- Specified by:
keySet
in interfacejava.util.Map<java.lang.String,FieldNode>
-
remove
public FieldNode remove(java.lang.Object key)
Not supported.- Specified by:
remove
in interfacejava.util.Map<java.lang.String,FieldNode>
-
values
public java.util.Collection<FieldNode> values()
- Specified by:
values
in interfacejava.util.Map<java.lang.String,FieldNode>
-
size
public int size()
- Specified by:
size
in interfacejava.util.Map<java.lang.String,FieldNode>
-
clear
public void clear()
Not supported.- Specified by:
clear
in interfacejava.util.Map<java.lang.String,FieldNode>
-
-