Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » target namespace of CMElementDeclaration
target namespace of CMElementDeclaration [message #725064] Tue, 13 September 2011 20:30
Florian Thienel is currently offline Florian ThienelFriend
Messages: 33
Registered: July 2009
Hi folks,

is there a more elegant way to get the target namespace of a given
CMElementDeclaration than this:

CMElementDeclaration decl = ...;
CMDocument doc = (CMDocument) decl.getProperty("CMDocument");
if (doc != null)
  String namespaceUri = (String) doc.getProperty("http" + "://org.eclipse.wst/cm/properties/targetNamespaceURI");

Any help appreciated.


[Updated on: Tue, 13 September 2011 20:31]

Report message to a moderator

Previous Topic:How to extend javascript type inference
Next Topic:Jax-WS creation and editing workflow
Goto Forum:

Current Time: Tue Mar 31 02:08:35 GMT 2015

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

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