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 16:30
Florian Thienel is currently offline Florian Thienel
Messages: 32
Registered: July 2009
Member
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.

Florian

[Updated on: Tue, 13 September 2011 16: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: Thu Aug 21 10:12:36 EDT 2014

Powered by FUDForum. Page generated in 0.01405 seconds