getDefaultInputPattern
in class DataFieldNumeric
public long getLong() throws java.lang.NumberFormatException, java.text.ParseException
java.lang.NumberFormatException
java.text.ParseException
|
CredibleXML v1.5 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
CredibleXML v1.5 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.crediware.crediblexml.coredef.DataElement | +--com.crediware.crediblexml.coredef.DataField | +--com.crediware.crediblexml.coredef.DataLayoutField | +--com.crediware.crediblexml.coredef.DataFieldNumeric
Copyright (c) 2001-2002 Crediware LLC. Purpose: This class is a base class incapsulating numeric field behavior for corresponding document elements defined in the GUI. Returned by data accessor method generated by GUI tool.
Constructor Summary | |
DataFieldNumeric(DataSegment container,
MetaData metaData,
IExternalDataProvider dataProvider,
java.lang.String value)
constructor creates data element with specified parameters |
Method Summary | |
protected java.lang.String |
formatNumber(java.text.DecimalFormat formatter,
java.lang.Number number)
parse string na dreturn the number |
protected abstract java.lang.String |
getDefaultInputPattern()
get default input pattern (pattern used in the business format) This pattern is applicable only when user haven't specified the corresponding pattern in the GUI |
protected abstract java.lang.String |
getDefaultOutputPattern()
get default output pattern (pattern in which the date is going to be presented in XML) This pattern is applicable only when user haven't specified the corresponding pattern in the GUI |
java.lang.String |
getFormattedValue()
get formatted value of the field |
protected java.lang.Number |
parseNumber(java.text.DecimalFormat formatter)
parse string na dreturn the number |
Methods inherited from class com.crediware.crediblexml.coredef.DataLayoutField |
getFieldMetaData, getXMLPresentmentType, isVisibleInXML |
Methods inherited from class com.crediware.crediblexml.coredef.DataField |
getAttributesForElement, getLexicalValue, getValue, isElement, populateDataForElement, saveFragmentAsAttribute, saveFragmentAsElement, setValue, toString |
Methods inherited from class com.crediware.crediblexml.coredef.DataElement |
getDataProvider, getEmptyAttribute, getMetaData, getName, getParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DataFieldNumeric(DataSegment container, MetaData metaData, IExternalDataProvider dataProvider, java.lang.String value)
Method Detail |
public java.lang.String getFormattedValue()
getFormattedValue
in class DataField