public interface ITemplater
| Modifier and Type | Method and Description |
|---|---|
ITemplater[] |
clone(int count)
Clones a document.
|
java.lang.String[] |
getMetadata(java.lang.String tag,
boolean all)
Metadata for each specific tag.
|
boolean |
replace(java.lang.String tag,
java.lang.Object value)
Replace first specified tag with provided value.
|
boolean |
resize(java.lang.String[] tags,
int count)
Resize context which contains all specified tags.
|
java.lang.String[] |
tags()
Recognized tags in the document.
|
java.lang.String[] tags()
java.lang.String[] getMetadata(java.lang.String tag,
boolean all)
tag - Tag for which metadata is requiredall - True returns metadata for all matching tags, false returns metadata for just the first oneboolean replace(java.lang.String tag,
java.lang.Object value)
tag - Tag to be replacedvalue - Replacement value (which can be formatted)boolean resize(java.lang.String[] tags,
int count)
tags - Tags which specifies the contextcount - Number of contexts after the resize operation; if the count value is zero, the specified context will be removed.ITemplater[] clone(int count)
count - Number of clones to create