public class TemplateLine extends Object
Constructor and Description |
---|
TemplateLine(org.forgerock.opendj.ldap.schema.AttributeType attributeType,
int lineNumber,
Tag[] tags)
Creates a new template line with the provided information.
|
TemplateLine(org.forgerock.opendj.ldap.schema.AttributeType attributeType,
int lineNumber,
Tag[] tags,
boolean isURL,
boolean isBase64)
Creates a new template line with the provided information.
|
Modifier and Type | Method and Description |
---|---|
TagResult |
generateLine(TemplateEntry templateEntry)
Generates the content for this template line and places it in the provided
template entry.
|
org.forgerock.opendj.ldap.schema.AttributeType |
getAttributeType()
Retrieves the attribute type for this template line.
|
int |
getLineNumber()
Retrieves the line number on which this template line appears in the
template file.
|
boolean |
isBase64()
Returns whether the value of this template line corresponds to a Base64
encoded value or not.
|
boolean |
isURL()
Returns whether the value of this template line corresponds to an URL
or not.
|
public TemplateLine(org.forgerock.opendj.ldap.schema.AttributeType attributeType, int lineNumber, Tag[] tags)
attributeType
- The attribute type for this template line.lineNumber
- The line number on which this template line appears
in the template file.tags
- The set of tags for this template line.public TemplateLine(org.forgerock.opendj.ldap.schema.AttributeType attributeType, int lineNumber, Tag[] tags, boolean isURL, boolean isBase64)
attributeType
- The attribute type for this template line.lineNumber
- The line number on which this template line appears
in the template file.tags
- The set of tags for this template line.isURL
- Whether this template line's value is an URL or not.isBase64
- Whether this template line's value is Base64 encoded
or not.public org.forgerock.opendj.ldap.schema.AttributeType getAttributeType()
public int getLineNumber()
public boolean isURL()
true
if the value of this template line corresponds
to an URL and false
otherwise.public boolean isBase64()
true
if the value of this template line corresponds
to a Base64 encoded value and false
otherwise.public TagResult generateLine(TemplateEntry templateEntry)
templateEntry
- The template entry being generated.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.