com.agfa.hap.sdo.helper
Class XsdScanner

java.lang.Object
  extended by com.agfa.hap.sdo.helper.XsdScanner

public class XsdScanner
extends java.lang.Object

This class scans the classpath for all sdo/*.xsd files and registers them using the type helper.

Author:
AMOCZ

Constructor Summary
XsdScanner(java.lang.ClassLoader classLoader)
           
 
Method Summary
protected  void read(java.io.InputStream is)
           
protected  void scanArchive(java.lang.String file)
           
 void scanClassPath(java.lang.String path)
           
protected  void scanDirectory(java.io.File dir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XsdScanner

public XsdScanner(java.lang.ClassLoader classLoader)
Method Detail

scanClassPath

public void scanClassPath(java.lang.String path)
                   throws java.io.IOException
Throws:
java.io.IOException

scanArchive

protected void scanArchive(java.lang.String file)
                    throws java.io.IOException
Throws:
java.io.IOException

scanDirectory

protected void scanDirectory(java.io.File dir)
                      throws java.io.IOException
Throws:
java.io.IOException

read

protected void read(java.io.InputStream is)


Copyright © 2007. All Rights Reserved.