if (style.equals("element"))
mapElement(pd.getName(), mappedName);
else if (style.equals("attribute"))
mapAttribute(pd.getName(), mappedName);
else
throw new XFireRuntimeException("Invalid style: " + style);
}
catch(XFireRuntimeException ex)
{
ex.prepend("Couldn't create type for property " + pd.getName()
+ " on " + getTypeClass());