com.agfa.hap.sdo.impl
Class XsdTypeProvider
java.lang.Object
com.agfa.hap.sdo.impl.TypeProvider
com.agfa.hap.sdo.impl.XsdTypeProvider
public class XsdTypeProvider
- extends TypeProvider
Simple TypeProvider that gets its type info from xsd files.
TypeInfo is cached once it is read.
This class is thread-safe; it can be used in a concurrent environment.
- Author:
- AMOCZ
Method Summary |
java.lang.String |
getTypes(java.lang.String uri)
Returns the xsd describing the types for this uri. |
void |
register(java.lang.String uri,
java.io.InputStream is)
|
void |
register(java.lang.String uri,
java.lang.String xsd)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XsdTypeProvider
public XsdTypeProvider()
register
public void register(java.lang.String uri,
java.lang.String xsd)
register
public void register(java.lang.String uri,
java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
getTypes
public java.lang.String getTypes(java.lang.String uri)
- Description copied from class:
TypeProvider
- Returns the xsd describing the types for this uri.
If the uri can't be interpreted, returns null.
- Specified by:
getTypes
in class TypeProvider
Copyright © 2007. All Rights Reserved.