First, I'd like to thank you all for the GREAT effort you guys do
If I have a Tag like this:
<data keyword="SampleTi">
<resolution>0.001</resolution>
</data>
I will simply create a class named IData.java:
public interface IData extends IModelElement
{
ModelElementType TYPE = new ModelElementType( IData.class );
// *** Keyword ***
@Label(standard = "&Keyword")
@XmlBinding ( path = "@keyword" )
ValueProperty PROP_KEYWORD = new ValueProperty(TYPE, "Keyword");
Value<String> getKeyword(); void setKeyword(String value);
// *** Resolution ***
@Label(standard = "&Resolution")
@XmlBinding ( path = "resolution" )
ValueProperty PROP_RESOLUTION = new ValueProperty(TYPE, "Resolution");
Value<String> getResolution(); void setResolution(String value);
}
but for the Tag:
<data keyword="SampleTi">
simple content
</data>
I still have to create a class named "IData.java" in order to get the "keyword" exactly the same as the previous example:
public interface IData extends IModelElement
{
ModelElementType TYPE = new ModelElementType( IData.class );
// *** Keyword ***
@Label(standard = "&Keyword")
@XmlBinding ( path = "@keyword" )
ValueProperty PROP_KEYWORD = new ValueProperty(TYPE, "Keyword");
Value<String> getKeyword(); void setKeyword(String value);
}
but now, how can I get the string "simple content"?