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: 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 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: Sat Dec 20 14:38:48 GMT 2014

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

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