Class StringFormatSpecifierImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.EObjectImpl
-
- org.eclipse.birt.chart.model.attribute.impl.FormatSpecifierImpl
-
- org.eclipse.birt.chart.model.attribute.impl.StringFormatSpecifierImpl
-
- All Implemented Interfaces:
FormatSpecifier,StringFormatSpecifier,IChartObject,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
public class StringFormatSpecifierImpl extends FormatSpecifierImpl implements StringFormatSpecifier
An implementation of the model object 'String Format Specifier'.The following features are implemented:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyPattern(java.lang.String format)StringFormatSpecifiercopyInstance()static StringFormatSpecifiercreate()A convenience methods provided to create an initialized NumberFormatSpecifier instance NOTE: Manually writtenstatic StringFormatSpecifiercreate(java.lang.String pattern)java.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)booleaneIsSet(int featureID)voideSet(int featureID, java.lang.Object newValue)voideUnset(int featureID)java.lang.Stringformat(java.lang.String dValue, com.ibm.icu.util.ULocale lo)Formats a value using the internally defined format specifier rulesjava.lang.StringgetPattern()voidsetPattern(java.lang.String newPattern)java.lang.StringtoString()-
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getPattern
public java.lang.String getPattern()
- Specified by:
getPatternin interfaceStringFormatSpecifier- Returns:
- the value of the 'Pattern' attribute.
- See Also:
StringFormatSpecifier.setPattern(String),AttributePackage.getStringFormatSpecifier_Pattern()
-
setPattern
public void setPattern(java.lang.String newPattern)
- Specified by:
setPatternin interfaceStringFormatSpecifier- Parameters:
newPattern- the new value of the 'Pattern' attribute.- See Also:
StringFormatSpecifier.getPattern()
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
copyInstance
public StringFormatSpecifier copyInstance()
- Specified by:
copyInstancein interfaceFormatSpecifier- Specified by:
copyInstancein interfaceIChartObject- Specified by:
copyInstancein interfaceStringFormatSpecifier- Overrides:
copyInstancein classFormatSpecifierImpl
-
create
public static StringFormatSpecifier create()
A convenience methods provided to create an initialized NumberFormatSpecifier instance NOTE: Manually written- Returns:
- this instance
-
create
public static StringFormatSpecifier create(java.lang.String pattern)
-
format
public java.lang.String format(java.lang.String dValue, com.ibm.icu.util.ULocale lo)Description copied from interface:StringFormatSpecifierFormats a value using the internally defined format specifier rules- Specified by:
formatin interfaceStringFormatSpecifier- Returns:
- A formatted string representation of the string value provided
-
applyPattern
public void applyPattern(java.lang.String format)
- Parameters:
format- the format pattern
-
-