Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Where is the CMDateTypeHelper?(In CMAttributeDeclaration interface, I find getDefaultValue is deprecated, the note said it is replcaced by CMDataTypeHelper, so where is CMDateTypeHelper?)
icon5.gif  Where is the CMDateTypeHelper? [message #521275] Tue, 16 March 2010 22:24 Go to next message
Eclipse UserFriend
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)
Re: Where is the CMDateTypeHelper? [message #522247 is a reply to message #521275] Sun, 21 March 2010 13:21 Go to previous message
Eclipse UserFriend
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
Previous Topic:Unable to create editor ID tableview.editors.MultiPageEditor: null argument
Next Topic:WTP not picking up modified Libraries
Goto Forum:
  


Current Time: Tue Jul 01 13:11:42 EDT 2025

Powered by FUDForum. Page generated in 0.05916 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top