[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Getting content of XML element
adrian@jboss.org
do-not-reply at jboss.com
Wed Nov 21 08:17:26 EST 2007
"kabir.khan at jboss.com" wrote : "adrian at jboss.org" wrote :
| | Why do you want to do this? This is usually horrible.
| | Is this the old XmlLoadable stuff?
| |
|
| It is to support the ClassMetaData stuff, e.g. I need to be able to translate the following -aop.xml style stuff
|
That doesn't make sense, you should be able to parse it to a real model,
e.g. in JAXB.
{code]
@XmlType(name="metadata")
public class AOPClassMetaData
{
@XmlAttribute(name="tag")
private String tag;
@XmlAttribute(name="class")
private String name;
@XmlElement(name="constructor")
private Collection constructors;
// etc.
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106735#4106735
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106735
More information about the jboss-dev-forums
mailing list