org.opends.server.tools.makeldif
Class TemplateValue

java.lang.Object
  extended by org.opends.server.tools.makeldif.TemplateValue

public class TemplateValue
extends java.lang.Object

This class defines a value generated from a template line.


Constructor Summary
TemplateValue(TemplateLine templateLine)
          Creates a new template value with the provided information.
 
Method Summary
 void append(java.lang.String s)
          Appends the provided string to this template value.
 AttributeType getAttributeType()
          Retrieves the attribute type for this template value.
 TemplateLine getTemplateLine()
          Retrieves the template line used to generate this value.
 java.lang.StringBuilder getValue()
          Retrieves the generated value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 java.lang.StringBuilder getValue()
Retrieves the generated value.

Returns:
The generated value.

append

public void append(java.lang.String s)
Appends the provided string to this template value.

Parameters:
s - The string to append to the template value.