|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CMLDocumentFactory
Creates DocumentFactory of appropriate subclass
| Method Summary | |
|---|---|
AbstractCMLDocument |
createDocument()
create document with current documentClassName |
AbstractCMLDocument |
parseSAX(org.xml.sax.InputSource is)
as above but debug is false |
org.w3c.dom.Element |
parseSAX(org.xml.sax.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 false |
org.w3c.dom.Element |
parseSAX(org.xml.sax.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. |
AbstractCMLDocument |
parseSAX(org.xml.sax.InputSource is,
boolean debug)
parses XML document into DOM, creating a new ownerDocument |
AbstractCMLDocument |
parseString(java.lang.String xmlString)
convenience method; parses a string representing a well-formed XML document |
void |
setDocumentClassName(java.lang.String documentClassName)
set the document class name |
| Method Detail |
|---|
void setDocumentClassName(java.lang.String documentClassName)
documentClassName - the classname with which to create new
DocumentsAbstractCMLDocument createDocument()
AbstractCMLDocument parseString(java.lang.String xmlString)
throws CMLException
xmlString - the string
CMLException
org.w3c.dom.Element parseSAX(org.xml.sax.InputSource is,
AbstractCMLDocument doc,
boolean debug)
throws java.io.IOException,
CMLException
is - the inputdoc - the existing documentdebug -
java.io.IOException - specific or IO
CMLException
org.w3c.dom.Element parseSAX(org.xml.sax.InputSource is,
AbstractCMLDocument doc)
throws java.io.IOException,
CMLException
is - - the inputdoc - - the existing document
java.io.IOException - - domain or IO
CMLException
AbstractCMLDocument parseSAX(org.xml.sax.InputSource is,
boolean debug)
throws java.io.IOException,
CMLException
is - - the inputdebug -
java.io.IOException - - domain or IO
CMLException
AbstractCMLDocument parseSAX(org.xml.sax.InputSource is)
throws java.io.IOException,
CMLException
is - - the input
java.io.IOException - - domain or IO
CMLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||