[jboss-dev-forums] [Design of JBossXB] - JBXB-206: Performance work
jesper.pedersen
do-not-reply at jboss.com
Mon Jul 6 16:15:39 EDT 2009
To follow up on the JIRA - the code as it stands currently is:
| UnmarshallerFactory unmarshallerFactory = UnmarshallerFactory.newInstance();
| Unmarshaller unmarshaller = unmarshallerFactory.newUnmarshaller();
|
| MutableSchemaResolver resolver = SingletonSchemaResolverFactory.getInstance().getSchemaBindingResolver();
| resolver.mapLocationToClass("http://java.sun.com/xml/ns/j2ee/connector_1_6.xsd", JCA16MetaData.class);
| resolver.mapLocationToClass("http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd", JCA15MetaData.class);
| resolver.mapLocationToClass("connector_1_5.dtd", JCA15DTDMetaData.class);
| resolver.mapLocationToClass("connector_1_6.dtd", JCA16DTDMetaData.class);
| resolver.mapLocationToClass("connector", JCA16DefaultNSMetaData.class);
|
using the JBXB and JBMETA classes.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242058#4242058
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242058
More information about the jboss-dev-forums
mailing list