Package com.adobe.xfa.template
Class TemplateModel.Insertion
- java.lang.Object
-
- com.adobe.xfa.template.TemplateModel.Insertion
-
- Enclosing class:
- TemplateModel
public static class TemplateModel.Insertion extends Object
A class to define a mapping between a key and template fragment reference.- See Also:
TemplateModel.splice(List, boolean)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContainedBySom()
Gets the SOM expression that defines the subtree(s) within the template that must contain the insertion point in order to be matched.String
getKey()
Gets the name that identifies an insertion point.String
getReference()
Gets the reference that defines a fragment.
-
-
-
Method Detail
-
getKey
public final String getKey()
Gets the name that identifies an insertion point.- Returns:
- a name that identifies an insertion point.
-
getReference
public final String getReference()
Gets the reference that defines a fragment.- Returns:
- the reference that defines a fragment.
-
getContainedBySom
public final String getContainedBySom()
Gets the SOM expression that defines the subtree(s) within the template that must contain the insertion point in order to be matched. If the SOM expression isnull
or empty, this insertion can be matched anywhere the key matches in the template.- Returns:
- a SOM expression that defines the subtree(s) within the template where this insertion can be matched.
-
-