bootstrapModel.addParticle(urlParticle);
bootstrapType.pushInterceptor(urlElement.getQName(), new DefaultElementInterceptor()
{
public void add(Object parent, Object child, QName name)
{
BootstrapMetaData bootstrap = (BootstrapMetaData) parent;
String url = (String) child;
List<String> bootstrapURLs = bootstrap.getBootstrapURLs();
if (bootstrapURLs == null)
{
bootstrapURLs = new ArrayList<String>();
bootstrap.setBootstrapURLs(bootstrapURLs);
}
bootstrapURLs.add(url);
}
});