|
Re: the filling the "mixed: EFeatueMapEntry" and "s: AnySimpleType" information [message #420900 is a reply to message #420895] |
Wed, 16 July 2008 09:31 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------060206050307030304050301
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Khalid,
Comments below.
khalid azam wrote:
> hello all,
>
> I need help urgently regarding the filling the "mixed:
> EFeatueMapEntry" and "s: AnySimpleType" information in the created model.
>
> could you please help me code snippet for the above problem.
You've looked at
http://www.theserverside.com/tt/articles/article.tss?l=Bindi ngXMLJava?
To create in instance of SimpleAnyType you need to set the EDataType it
wraps and can then set either a value of the data type or a literal that
can be converted to a value of the data type.
SimpleAnyType simpleAnyType =
XMLTypeFactory.eINSTANCE.createSimpleAnyType();
simpleAnyType.setInstanceType(<anyEDataType>);
simpleAnyType.setValue(<anyValueOfThatEDataType>);
simpleAnyType.setRawValue(<anyLiteralOfThatEDataType>);
>
> regards,
> Khalid
>
>
>
--------------060206050307030304050301
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Khalid,<br>
<br>
Comments below.<br>
<br>
khalid azam wrote:
<blockquote
cite="mid:bb916099834a5476b8562b35d3e1d048$1@www.eclipse.org"
type="cite">hello all,
<br>
<br>
I need help urgently regarding the filling the "mixed: EFeatueMapEntry"
and "s: AnySimpleType" information in the created model.
<br>
<br>
could you please help me
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02707 seconds