Uses of Class
org.episteme.natural.chemistry.loaders.cml.CMLException
Packages that use CMLException
Package
Description
Provides the
org.episteme.natural.chemistry.loaders.cml module.Provides the
org.episteme.natural.chemistry.loaders.cml.cmlimpl module.-
Uses of CMLException in org.episteme.natural.chemistry.loaders.cml
Methods in org.episteme.natural.chemistry.loaders.cml that throw CMLExceptionModifier and TypeMethodDescriptionvoidAbstractBase.characters(SaxHandler saxHandler, String content) SAX2 parsing routine called from characters() callback NOT namespace awarevoidBaseTool.characters(SaxHandler saxHandler, String content) SAX2 parsing routine - called from characters() callbackAbstractCMLDocument.clone(AbstractBase element) clone element in context of document.voidAbstractBase.endElement(SaxHandler saxHandler) SAX2 parsing routine called from endElement() callback NOT namespace awarevoidBaseTool.endElement(SaxHandler saxHandler) SAX2 parsing routine - called from endElement() callbackAbstractBase.getOrCreateChild(String elemName) get a child of a given name If it doesn't exist, create and add itvoidthrows exception if the contained object is not equal to the other contained object.CMLDocumentFactory.parseSAX(InputSource is) Parses an XML document into the DOM, creating a new owner document (debug is false).CMLDocumentFactory.parseSAX(InputSource is, boolean debug) Parses an XML document into the DOM, creating a new owner document.CMLDocumentFactory.parseSAX(InputSource is, AbstractCMLDocument doc) parses XML document into existing DOM The new document must be well-formed with a single root element the application will probably wish to relocate this in the DOM. debug is set to falseCMLDocumentFactory.parseSAX(InputSource is, AbstractCMLDocument doc, boolean debug) parses XML document into existing DOM The new document must be well-formewd with a single root element the application will probably wish to relocate this in the DOM.CMLDocumentFactory.parseString(String xmlString) convenience method; parses a string representing a well-formed XML documentvoidBaseTool.processCurrentCommand(Workflow workflow) run workflow script or object.Reads a CML document from a file.CMLReader.read(InputStream input) Reads a CML document from an input stream.Reads a CML document from a URL.CMLReader.readFromString(String cml) Reads a CML document from a string.voidAbstractBase.removeTextChildren()removes whitespace nodes or throws any Exception for non-whitespace onesvoidWorkflow.run()Runs the workflow.voidCMLNode.setVersion(String v) set CML versionvoidAbstractBase.startElement(SaxHandler saxHandler, Attributes attributes) SAX2 parsing routine called from startElement() callback NOT namespace awarevoidBaseTool.startElement(SaxHandler saxHandler, Attributes attributes) SAX2 parsing routine - called from startElement() callbackvoidwrite XML use current control (version and syntax)voidwrite XML, using class-specific informationvoidwrite XML (uses default control)voidwrite XML (allows for syntactic variants) -
Uses of CMLException in org.episteme.natural.chemistry.loaders.cml.cmlimpl
Methods in org.episteme.natural.chemistry.loaders.cml.cmlimpl that throw CMLExceptionModifier and TypeMethodDescriptionvoidcontent modelCMLBaseImpl.appendChild(Element elem) traps the addition of an child to the element content By default this will be routed to addChild() and org.w3c.dom.Node.appendChild(), but other element-specific stuff can be interposed (within the ContvoidBaseToolImpl.characters(SaxHandler saxHandler, String content) SAX2 parsing routine - called from characters() callbackvoidCMLBaseImpl.characters(SaxHandler saxHandler, String content) SAX2 parsing routine called from characters() callback NOT namespace awareAbstractCMLDocumentImpl.clone(AbstractBase element) clone element in context of document.voidCMLBaseImpl.deleteChild(Element elem) delete an element The element must have been previously created and present in the DOMvoidBaseToolImpl.endElement(SaxHandler saxHandler) SAX2 parsing routine - called from endElement() callbackvoidCMLBaseImpl.endElement(SaxHandler saxHandler) SAX2 parsing routine called from endElement() callback NOT namespace awareCMLBaseImpl.getOrCreateChild(String elemName) get a child of a given name If it doesn't exist, create and add itvoidthrows exception if the contained object is not equal to the other contained object.voidBaseToolImpl.mustEqualAttributes(BaseTool otherTool) voidBaseToolImpl.mustEqualChildNodes(BaseTool otherTool) static voidCMLBaseImpl.outputChildren(Element elem, Writer w, String control) DocumentFactoryImpl.parseSAX(InputSource is) Parses an XML document via SAX (whitespace is ignored).DocumentFactoryImpl.parseSAX(InputSource is, boolean debug) Parses an XML document via SAX with optional debugging (whitespace is ignored).DocumentFactoryImpl.parseSAX(InputSource is, AbstractCMLDocument doc) Parses an XML document via SAX into an existing DOM (whitespace is ignored).DocumentFactoryImpl.parseSAX(InputSource is, AbstractCMLDocument doc, boolean debug) Description of the Method whitespace is ignoredDocumentFactoryImpl.parseString(String xmlString) Convenience method to parse an XML string into a CMLDocument.voidBaseToolImpl.processCurrentCommand(Workflow workflow) run workflow script or object.voidCMLBaseImpl.removeTextChildren()removes whitespace nodes or throws any Exception for non-whitespace onesvoidAbstractCMLDocumentImpl.setVersion(String v) set CML versionvoidCMLBaseImpl.setVersion(String v) set CML versionvoidBaseToolImpl.startElement(SaxHandler saxHandler, Attributes attributes) SAX2 parsing routine - called from startElement() callbackvoidCMLBaseImpl.startElement(SaxHandler saxHandler, Attributes attributes) SAX2 parsing routine called from startElement() callback NOT namespace awarevoidwrite XML use current control (version and syntax)voidwrite the document in XML, using node-specific routinesvoidwrite XML, using class-specific informationvoidwrite XML use current control (version and syntax)voidwrite XML (allows for syntactic variants)static void