@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
267268269270271272273274275276277
NameResolver resolver, String styleSheetName ) { XMLProvider xmlProvider = new JaxpXMLProvider(); try { return StyleSheetDocumentUtils.createStyleSheetDocument(xmlProvider, resolver,
322323324325326327328329330331332
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);
481482483484485486487488489490491
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
15971598159916001601160216031604160516061607
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;
216217218219220221222223224225226
return null; StyleSheetDocument document = null; // Get the XML Provider XMLProvider provider = new JaxpXMLProvider(); try { document = StyleSheetDocumentUtils.createStyleSheetDocument( provider,
302303304305306307308309310311312
NameResolver resolver, String styleSheetName ) { XMLProvider xmlProvider = new JaxpXMLProvider(); try { // this will parse the xss file adn return a StyleSheetDocument return StyleSheetDocumentUtils.createStyleSheetDocument(xmlProvider,
258259260261262263264265266267268
226227228229230231232233234235236
259260261262263264265266267268269
254255256257258259260261262263264