"adrian(a)jboss.org" wrote : I'm assuming you have such a type in the schema?
:-).
|
Sure.
| <xsd:attribute name="mode" type="controllerModeType"
use="optional"/>
| <xsd:attribute name="autowire-type"
type="autowireTypeType" use="optional"/>
| <xsd:attribute name="option" type="optionType"
use="optional" default="Strict"/>
| <xsd:attribute name="fromContext" type="contextType"
use="optional"/>
|
"adrian(a)jboss.org" wrote :
|
| | TypeBInding type = schemaBinding.getTypeBinding(qNameFromSchema);
| | type.setValueAdapter(new EnumValueAdapter(...));
| |
How do you use this with attributes?
Since currently we're only handling attributes in the way my last post showed -
iterating over string values, matching localName and using the string value from
Attributes.getValue(index).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134904#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...