Package org.opends.server.tools.makeldif
Class TemplateValue
- java.lang.Object
-
- org.opends.server.tools.makeldif.TemplateValue
-
public class TemplateValue extends Object
This class defines a value generated from a template line.
-
-
Constructor Summary
Constructors Constructor Description TemplateValue(TemplateLine templateLine)Creates a new template value with the provided information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappend(String s)Appends the provided string to this template value.AttributeTypegetAttributeType()Retrieves the attribute type for this template value.TemplateLinegetTemplateLine()Retrieves the template line used to generate this value.StringBuildergetValue()Retrieves the generated value.
-
-
-
Constructor Detail
-
TemplateValue
public TemplateValue(TemplateLine templateLine)
Creates a new template value with the provided information.- Parameters:
templateLine- The template line used to generate this value.
-
-
Method Detail
-
getTemplateLine
public TemplateLine getTemplateLine()
Retrieves the template line used to generate this value.- Returns:
- The template line used to generate this value.
-
getAttributeType
public AttributeType getAttributeType()
Retrieves the attribute type for this template value.- Returns:
- The attribute type for this template value.
-
getValue
public StringBuilder getValue()
Retrieves the generated value.- Returns:
- The generated value.
-
append
public void append(String s)
Appends the provided string to this template value.- Parameters:
s- The string to append to the template value.
-
-