public interface Binder
Modifier and Type | Method and Description |
---|---|
com.itextpdf.tool.xml.Tag |
bind(String key,
com.itextpdf.tool.xml.Tag t)
Searches for a template tag in the given template dom structure that has a bind tag with following attributes:
match="dataRef"
ref="$"+key or ref="!"+key or ref="xfa.datasets."+key
|
com.itextpdf.tool.xml.Tag |
bind(com.itextpdf.tool.xml.Tag t,
com.itextpdf.tool.xml.Tag dom)
Searches for a tag in the tree of dom for a tag that is related to the
given tag t.
|
boolean |
isBinded(String ref,
com.itextpdf.tool.xml.Tag t) |
com.itextpdf.tool.xml.Tag bind(com.itextpdf.tool.xml.Tag t, com.itextpdf.tool.xml.Tag dom)
t
- the Tag to find a related tag for.dom
- the Tag to search in.boolean isBinded(String ref, com.itextpdf.tool.xml.Tag t)
com.itextpdf.tool.xml.Tag bind(String key, com.itextpdf.tool.xml.Tag t)
key
- is name of data tag.t
- tag containing the entire template dom structure.Copyright (C) 1998-2018 iText Group NV. All Rights Reserved.