Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] target namespace of CMElementDeclaration

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


Back to the top