| java.lang.Object org.jibx.binding.generator.SchemaGenerator
SchemaGenerator | public class SchemaGenerator (Code) | | Schema generator from binding definition.
|
SchemaGenerator | public SchemaGenerator(IClassLocator loc, GlobalCustom custom)(Code) | | Constructor.
Parameters: loc - locator for class information (null if none) Parameters: custom - binding customization information (used for creating namesas needed) |
findSchema | public SchemaHolder findSchema(String uri)(Code) | | Find the schema to be used for a particular namespace. If this is the
first time a particular namespace was requested, a new schema will be
created for that namespace and returned, using a default file name.
Parameters: uri - namespace URI (null if no namespace) schema holder |
generate | public ArrayList generate(ArrayList holders)(Code) | | Generate a list of schemas from a list of bindings. The two lists are not
necessarily in any particular relationship to each other.
Parameters: holders - list of BindingHolder schemas list of SchemaHolder |
isEqual | public static boolean isEqual(Object a, Object b)(Code) | | General object comparison method. Don't know why Sun hasn't seen fit to
include this somewhere, but at least it's easy to write (over and over
again).
Parameters: a - first object to be compared Parameters: b - second object to be compared true if both objects are null , or ifa.equals(b) ; false otherwise |
|
|