public XmlObject newInstance ( SchemaType type, XmlOptions options )
{
XmlFactoryHook hook = XmlFactoryHook.ThreadContext.getHook();
if (hook != null)
return hook.newInstance( this, type, options );
return Locale.newInstance( this, type, options );
}
public XmlObject parse ( String xmlText, SchemaType type, XmlOptions options ) throws XmlException