public static final class Templater.TagPosition
extends java.lang.Object
Exact tag position for the resize method. When doing the resize operation, instead of using the first tag in the document, another one can be specified.
This allows for more advanced replacement/duplication scenarios and resolution of some problems which happen in tag sharing mode.
Modifier and Type | Field and Description |
---|---|
int |
position
Position of the tag in the document.
|
java.lang.String |
tag
Tag value to match.
|
Constructor and Description |
---|
TagPosition(java.lang.String tag,
int position)
Prepare structure by defining tag and position arguments
|