@version $Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/share/xml/XMLProvider.java#0 $) $Date: 10-nov-2005.18:59:16 $ @author The Oracle ADF Faces Team
320321322323324325326327328329330
String imxName = files[i]; String imxPath = realPath + imxName; // Create a parser to use for parsing IMX files XMLProvider parser = _getXMLProvider(context); assert (parser != null); try { _loadImage(context, cache, new File(imxPath), parser);
479480481482483484485486487488489
String name = _getFileName(context, type, properties); assert (name != null); // We use an XMLProvider to parse the IMX file. However, we don't // load the XMLProvider until we've actually got something to parse. XMLProvider parser = null; // Load all images which match the base name while (true) { // Get the next unique name for this base name
15951596159715981599160016011602160316041605
private XMLProvider _getXMLProvider(ImageContext context) throws CacheException { // Create a parser to use for parsing IMX files Configuration config = context.getConfiguration(); XMLProvider parser = XMLUtils.getXMLProvider(config); if (parser == null) _error(_XML_PROVIDER_ERROR); return parser;
222223224225226227228229230231232
NameResolver resolver, String styleSheetName ) { XMLProvider xmlProvider = new JaxpXMLProvider(); try { return StyleSheetDocumentUtils.createStyleSheetDocument(xmlProvider, resolver,
252253254255256257258259260261262
return null; StyleSheetDocument document = null; // Get the XML Provider XMLProvider provider = new JaxpXMLProvider(); try { document = StyleSheetDocumentUtils.createStyleSheetDocument( provider,
267268269270271272273274275276277
214215216217218219220221222223224
257258259260261262263264265266267