com.abra.j2xb.beans.xmlModel
Class MoXmlSchema

java.lang.Object
  extended by com.abra.j2xb.beans.xmlModel.MoXmlSchema

public class MoXmlSchema
extends java.lang.Object

Since:
JDK1.5
Version:
1.0, May 1, 2008
Author:
Yoav Abrahami

Method Summary
 void addBean(MOPersistentBeanDescriptor beanDescriptor)
           
 void addElement(MoXmlElement element)
           
 void addGlobalType(java.lang.String typeKey, MoXmlType xmlType)
           
 void generateSchema(java.io.File schemaFile, MoXmlSchemaLocationGenerator schemaLocationGenerator)
           
 void generateSchema(MoXmlSchemaLocationGenerator schemaLocationGenerator)
           
 MoXmlBindingModel getBindingModelContext()
           
 java.util.Set<MoXmlSchema> getImportedSchemas()
           
 java.lang.String getNamespace()
           
 java.lang.String getPrefix()
           
 MoXmlType getType(java.lang.String typeKey)
           
 MoXmlBeanDescriptor getXmlBeanDescriptor(java.lang.Class<?> clazz)
           
 boolean hasGlobalType(java.lang.String typeKey)
           
 void importSchema(MoXmlSchema importedSchema)
           
 void writeSchema(java.io.Writer writer, MoXmlSchemaLocationGenerator schemaLocationGenerator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addBean

public void addBean(MOPersistentBeanDescriptor beanDescriptor)
             throws MoXmlSchemaException
Throws:
MoXmlSchemaException

addGlobalType

public void addGlobalType(java.lang.String typeKey,
                          MoXmlType xmlType)

addElement

public void addElement(MoXmlElement element)

getType

public MoXmlType getType(java.lang.String typeKey)

hasGlobalType

public boolean hasGlobalType(java.lang.String typeKey)

generateSchema

public void generateSchema(MoXmlSchemaLocationGenerator schemaLocationGenerator)
                    throws MoXmlSchemaGenerationException
Throws:
MoXmlSchemaGenerationException

generateSchema

public void generateSchema(java.io.File schemaFile,
                           MoXmlSchemaLocationGenerator schemaLocationGenerator)
                    throws MoXmlSchemaGenerationException
Throws:
MoXmlSchemaGenerationException

writeSchema

public void writeSchema(java.io.Writer writer,
                        MoXmlSchemaLocationGenerator schemaLocationGenerator)
                 throws MoXmlSchemaGenerationException
Throws:
MoXmlSchemaGenerationException

getPrefix

public java.lang.String getPrefix()

getNamespace

public java.lang.String getNamespace()

getBindingModelContext

public MoXmlBindingModel getBindingModelContext()

getXmlBeanDescriptor

public MoXmlBeanDescriptor getXmlBeanDescriptor(java.lang.Class<?> clazz)

importSchema

public void importSchema(MoXmlSchema importedSchema)

getImportedSchemas

public java.util.Set<MoXmlSchema> getImportedSchemas()


Copyright © 2008. All Rights Reserved.