|
Re: Where is the CMDateTypeHelper? [message #522247 is a reply to message #521275] |
Sun, 21 March 2010 17:21  |
|
On 3/16/2010 10:24 PM, Li Jia Jia wrote:
> In CMAttributeDeclaration interface, I find getDefaultValue is
> deprecated, the note said it is replcaced by CMDataTypeHelper, so where
> is CMDateTypeHelper?
>
> Just FYI: code from CMAttributeDeclaration String getDefaultValue();
> /**
> * getEnumAttr method
> * @return java.util.Enumeration
> * @deprecated -- to be replaced in future with additional CMDataType
> methods (currently found on CMDataTypeHelper)
It may be a reference to CMDataType as a "helper", by calling
org.eclipse.wst.xml.core.internal.contentmodel.CMAttributeDe claration#getAttrType()
and then #getImpliedValue*() on the data type.
--
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.01658 seconds