Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Fwd: Javadoc comment; finding non-schema attributes
Fwd: Javadoc comment; finding non-schema attributes [message #562892] Tue, 15 October 2002 16:18
Shane Curcuru is currently offline Shane CurcuruFriend
Messages: 30
Registered: July 2009
Member
A comment, question, and part of an answer:

---- you Ted Toth <ted_x_toth@yahoo.com> wrote ----
> One comment I
> have is that if the javadoc for methods that return a
> List would specify in the comments what the type of
> the objects in the list are.
Good point: I thought this was asked before? It's actually an org.eclipse.emf comment I think, since we use the EMF framework to generate this
kind of stuff.
Actually, most of the EList returning convenience methods (say, on XSDSchema) do include the type of object the EList contains in the Javadoc
comment - although I've noticed it doesn't appear in the Method Summary, only the long descriptions.


> Also (of course) I have a
> question in the case of an element similar to the
> following how can get the vcml:desc attribute?
>
> <xsd:enumeration value="01" vcml:desc="Patient was
> admitted to a hospital"/>
This won't show up in any of the abstract schema object relationships, since we don't care about non-schema stuff. But you can always drop down
into the concrete model, which basically is the DOM of the original elements in the mySchema.xsd file or the like. Try Element e =
xsdConcreteComponent.getElement() and then manipulate that with normal DOM calls to get the attr.

- Shane
Previous Topic:Fwd: Javadoc comment; finding non-schema attributes
Next Topic:Create from XML document
Goto Forum:
  


Current Time: Tue Apr 30 02:11:49 GMT 2024

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

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

Back to the top