org.eclipse.birt.report.model.api.elements.structures
Class StringFormatValue

java.lang.Object
  extended by org.eclipse.birt.report.model.core.Structure
      extended by org.eclipse.birt.report.model.api.elements.structures.FormatValue
          extended by org.eclipse.birt.report.model.api.elements.structures.StringFormatValue
All Implemented Interfaces:
java.lang.Cloneable, IStructure, org.eclipse.birt.report.model.core.IPropertySet

public class StringFormatValue
extends FormatValue

The format value for the string type.


Field Summary
static java.lang.String FORMAT_VALUE_STRUCT
          Name of this structure.
 
Fields inherited from class org.eclipse.birt.report.model.api.elements.structures.FormatValue
CATEGORY_MEMBER, PATTERN_MEMBER
 
Constructor Summary
StringFormatValue()
           
 
Method Summary
 StructureHandle getHandle(SimpleValueHandle valueHandle)
          Return an FormatValueHandle to deal with the string format.
 java.lang.String getStructName()
          Returns the name of the structure definition.
 StructureHandle handle(SimpleValueHandle valueHandle, int index)
           
 
Methods inherited from class org.eclipse.birt.report.model.api.elements.structures.FormatValue
getCategory, getIntrinsicProperty, getPattern, setCategory, setIntrinsicProperty, setPattern, toString
 
Methods inherited from class org.eclipse.birt.report.model.core.Structure
copy, equals, getContext, getDefn, getElement, getHandle, getListMemberRef, getLocalProperty, getLocalProperty, getObjectDefn, getProperty, getProperty, getReferencableProperty, isDesignTime, isReferencable, setContext, setProperty, setProperty, updateReference, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FORMAT_VALUE_STRUCT

public static final java.lang.String FORMAT_VALUE_STRUCT
Name of this structure. Matches the definition in the meta-data dictionary.

See Also:
Constant Field Values
Constructor Detail

StringFormatValue

public StringFormatValue()
Method Detail

getStructName

public java.lang.String getStructName()
Description copied from interface: IStructure
Returns the name of the structure definition. The name is the one used to define the structure in the meta-data dictionary.

Returns:
the internal name of the structure a defined in the meta-data dictionary.

handle

public StructureHandle handle(SimpleValueHandle valueHandle,
                              int index)
Specified by:
handle in class org.eclipse.birt.report.model.core.Structure

getHandle

public StructureHandle getHandle(SimpleValueHandle valueHandle)
Return an FormatValueHandle to deal with the string format.

Overrides:
getHandle in class org.eclipse.birt.report.model.core.Structure
Parameters:
valueHandle - the property or member handle
Returns:
the strcuture handle


Copyright © 2008 Actuate Corp. All rights reserved.