public class MyCBRImporter
extends org.xml.sax.helpers.DefaultHandler
| Constructor and Description |
|---|
MyCBRImporter(Project project)
Initializes this with the given project, path and name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doImport()
Imports the model from the specified XML files to the given
project.
|
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts) |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic MyCBRImporter(Project project) throws java.lang.Exception
project - the project whose model should be importedjava.lang.Exceptionpublic void doImport()
public void startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException