Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (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: 38
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: Mon Jun 18 23:22:55 GMT 2018

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

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

Back to the top