cz.cmc.tcgui.io
Class SchemaImporterXML
java.lang.Object
cz.cmc.tcgui.io.SchemaImporterXML
- All Implemented Interfaces:
- SchemaImporter
- public class SchemaImporterXML
- extends Object
- implements SchemaImporter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
in
protected InputStream in
imp
protected TCImport imp
exp
protected TCExport exp
SchemaImporterXML
public SchemaImporterXML()
importSchema
public void importSchema(InputStream is,
TCImport tci,
TCExport tce)
throws ImportException
- Description copied from interface:
SchemaImporter
- Imports the schema from the given stream.
- Specified by:
importSchema
in interface SchemaImporter
- Parameters:
is
- InputStream to import the schema fromtci
- TCImport to import the schema totce
- TCEport to access the schema during import
- Throws:
ImportException
parseTcs
protected void parseTcs(Document doc)
throws DataFormatException
- Throws:
DataFormatException
parseTCObjects
protected void parseTCObjects(Node n,
TCObject container)
throws DataFormatException
- Throws:
DataFormatException
parseCfqd
protected TCObject parseCfqd(Node n)
throws DataFormatException
- Throws:
DataFormatException
parseClqd
protected TCObject parseClqd(Node n)
throws DataFormatException
- Throws:
DataFormatException
parseCls
protected TCObject parseCls(Node n)
throws DataFormatException
- Throws:
DataFormatException
parseFil
protected TCObject parseFil(Node n)
throws DataFormatException
- Throws:
DataFormatException
parseFel
protected TCObject parseFel(Node n)
throws DataFormatException
- Throws:
DataFormatException
parseAttrs
protected void parseAttrs(Node n,
TCObject tco)
throws DataFormatException
- Throws:
DataFormatException
parseCont
protected void parseCont(Node n,
TCObject tco)
throws DataFormatException
- Throws:
DataFormatException
parseAttrTC
protected Map parseAttrTC(Node n)
throws DataFormatException
- Throws:
DataFormatException
parseAttrView
protected Map parseAttrView(Node n)
throws DataFormatException
- Throws:
DataFormatException
parseMap
protected Map parseMap(Node n)
throws DataFormatException
- Throws:
DataFormatException
parseSme
protected void parseSme(Node n,
Map m)
throws DataFormatException
- Throws:
DataFormatException
parseCme
protected void parseCme(Node n,
Map m)
throws DataFormatException
- Throws:
DataFormatException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception