}
}
public Object getCastFromString(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, Object pData)
throws SAXException {
LocalJavaField list = pMethod.newJavaField(LIST_TYPE);
String collectionType = pController.getCollectionType();
list.addLine("new ", ("indexed".equals(collectionType) ?
ARRAYLIST_TYPE : JavaQNameImpl.getInstance(collectionType, true)), "()");
DirectAccessible st = pMethod.addForEnumeration(StringTokenizer.class, new Object[]{"new ", StringTokenizer.class, "(", pValue, ")"});
pMethod.addLine(list, ".add(", itemType.getSimpleTypeSG().getCastFromString(pMethod, new Object[]{st, ".nextToken()"}, pData),
");");
pMethod.addEndFor();