Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse JET Guide
Previous Page Home Next Page


Additional XPath Functions


Access a named UML2 stereotype on a UML2 element. If the named stereotype is not applied to the element then an emtpy result is returned.

Function Summary
minimal arguments Object uml2.stereotype (String qualified-name)
all arguments Object uml2.stereotype (Object element, String qualified-name)

Required Arguments
String qualified-name the qualified name of the stereotype being accessed. Eg. Standard::ModelLibrary

Optional Arguments
Object element The UML2 upon which the stereotype is applied. If omitted, the XPath context object is used.

uml2.stereotype(/Model, 'Standard::ModelLibrary')

return the ModelLibrary stereotype, if it is applied to the /Model element


matches all Package objects in a model with the 'Standard::framework' stereotype applied

© Copyright IBM Corporation 2000, 2006. All Rights Reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire