Save This Page
Home » xmlbeans-2.4.0-src » org.apache.xmlbeans.impl.tool » [javadoc | source]
org.apache.xmlbeans.impl.tool
public class: SchemaResourceManager [javadoc | source]
java.lang.Object
   org.apache.xmlbeans.impl.tool.SchemaImportResolver
      org.apache.xmlbeans.impl.tool.BaseSchemaResourceManager
         org.apache.xmlbeans.impl.tool.SchemaResourceManager
Constructor:
 public SchemaResourceManager(File directory) 
Method from org.apache.xmlbeans.impl.tool.SchemaResourceManager Summary:
deleteFile,   fileExists,   getAllXSDFilenames,   inputStreamForFile,   main,   printUsage,   warning,   writeInputStreamToFile
Methods from org.apache.xmlbeans.impl.tool.BaseSchemaResourceManager:
deleteFile,   fileExists,   getAllXSDFilenames,   getDefaultSchemaDir,   getIndexFilename,   init,   inputStreamForFile,   lookupResource,   process,   processAll,   reportActualNamespace,   syncCacheWithLocalXsdFiles,   warning,   writeCache,   writeInputStreamToFile
Methods from org.apache.xmlbeans.impl.tool.SchemaImportResolver:
lookupResource,   reportActualNamespace,   resolveImports
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.xmlbeans.impl.tool.SchemaResourceManager Detail:
 protected  void deleteFile(String filename) 
    Deletes a file. Sometimes immediately after writing a new file we notice that it's exactly the same as an existing file and we delete it. We never delete a file that was given to us by the user.
 protected boolean fileExists(String filename) 
    Returns true if the given filename exists. The filenames are of the form "/foo/bar/zee.xsd" and should be construed as rooted at the root of the project.
 protected String[] getAllXSDFilenames() 
    Returns a list of all the XSD filesnames in the project.
 protected InputStream inputStreamForFile(String filename) throws IOException 
    Gets the data in the given filename as an InputStream.
 public static  void main(String[] args) throws IOException 
 public static  void printUsage() 
 protected  void warning(String msg) 
    Sends messages to System.out.
 protected  void writeInputStreamToFile(InputStream input,
    String filename) throws IOException 
    Writes an entire file in one step. An InputStream is passed and copied to the file.