public class Schema extends Object implements DescriptionObject, ErrorHandler
| Modifier and Type | Field and Description |
|---|---|
protected StringBuffer |
errors |
org.exolab.castor.xml.schema.Schema |
som |
| Modifier | Constructor and Description |
|---|---|
protected |
Schema(String schema) |
|
Schema(String name,
int version,
ItemPath itemPath,
String schema) |
| Modifier and Type | Method and Description |
|---|---|
void |
error(SAXParseException ex) |
void |
export(Writer imports,
File dir) |
void |
fatalError(SAXParseException ex) |
String |
getItemID() |
ItemPath |
getItemPath() |
String |
getName() |
String |
getSchemaData() |
Integer |
getVersion() |
CollectionArrayList |
makeDescCollections() |
void |
setItemPath(ItemPath path) |
void |
setName(String name) |
void |
setVersion(Integer version) |
String |
validate() |
void |
warning(SAXParseException ex) |
protected StringBuffer errors
public org.exolab.castor.xml.schema.Schema som
public Schema(String name, int version, ItemPath itemPath, String schema)
docType - docVersion - schema - protected Schema(String schema)
public String validate() throws IOException
IOExceptionpublic String getItemID()
getItemID in interface DescriptionObjectpublic String getName()
getName in interface DescriptionObjectpublic Integer getVersion()
getVersion in interface DescriptionObjectpublic String getSchemaData()
public ItemPath getItemPath()
getItemPath in interface DescriptionObjectpublic void setName(String name)
setName in interface DescriptionObjectpublic void setVersion(Integer version)
setVersion in interface DescriptionObjectpublic void setItemPath(ItemPath path)
setItemPath in interface DescriptionObjectpublic void error(SAXParseException ex) throws SAXException
error in interface ErrorHandlerSAXExceptionpublic void fatalError(SAXParseException ex) throws SAXException
fatalError in interface ErrorHandlerSAXExceptionpublic void warning(SAXParseException ex) throws SAXException
warning in interface ErrorHandlerSAXExceptionpublic CollectionArrayList makeDescCollections()
makeDescCollections in interface DescriptionObjectpublic void export(Writer imports, File dir) throws IOException
export in interface DescriptionObjectIOExceptionCopyright © 1997–2016 CRISTAL-iSE. All rights reserved.