Package | Description |
---|---|
eu.bandm.tools.d2d2.base |
D2d allows to write valid XML documents directly in the creative flow of authoring,
with minimum typographic noise.
|
eu.bandm.tools.muli.tdom |
Meaning: Source format for multi lingual
support.
|
eu.bandm.tools.tdom.runtime |
Contains base and auxiliary classes for code generated by tdom.
|
eu.bandm.tools.xantlrtdom |
Glueing code supporting different standard use cases of tdom, xantlr
and both.
|
Modifier and Type | Method and Description |
---|---|
static <T extends TypedDocument,D extends TypedDTD> |
Tasks.string2tdom(String sourcetext,
ModuleRegistry modreg,
Class<T> documentClass,
D dtdInstance,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msgr,
Text2Udom.ErrorStrategy errorStrategy,
int debug)
Convert a d2d source text (GIVEN AS STRING) into a tdom model.
|
static <T extends TypedDocument,D extends TypedDTD> |
Tasks.text2tdom(File infile,
ModuleRegistry modreg,
Class<T> documentClass,
D dtdInstance,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msgr,
Text2Udom.ErrorStrategy errorStrategy,
int debug)
Convert a d2d input file into a tdom model.
|
static <T extends TypedDocument,D extends TypedDTD> |
Tasks.udom2xslt2document(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msgr,
ModuleRegistry modreg,
Udom input,
String xsltTargetModuleSelect,
String xsltTargetToptagSelect,
Class<T> documentClass,
D dtdInstance,
URIResolver uriResolver,
NamespaceName2String stylesheetparams,
boolean debug)
Convert a d2d untyped model (result of a d2d parsing process)
via the xslt rules coming with the d2d module definition directly into a tdom model.
|
Modifier and Type | Class and Description |
---|---|
class |
DTD
Central class for all meta-information.
|
Modifier and Type | Method and Description |
---|---|
TypedDTD |
TypedDocument.getDTD()
Returns the global DTD information compiled into this tdom model.
|
Modifier and Type | Method and Description |
---|---|
protected static <E extends TypedElement<E,X>,X extends TypedExtension,Y extends Exception> |
TypedElement.parseAbstract(TypedDTD dtd,
X ext,
TypedNode.ParseListener<E> listener,
Map<? super String,? extends TypedContent.ParsingConstructor<?,E,X,Y>> subclassTable,
Element elem) |
Constructor and Description |
---|
TypedDocument(TypedDTD dtd) |
Modifier and Type | Method and Description |
---|---|
static <T extends TypedDocument,D extends TypedDTD> |
TdomReader.parseXmlFile(InputSource inputSource,
Class<T> documentClass,
D dtdInstance,
boolean debug) |
Modifier and Type | Method and Description |
---|---|
protected <D> void |
XantlrTdom.init(X_LLkParser parser0,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> antlrMessages,
int queueSize,
ContentHandler debugSaxEvents,
TypedDTD tdomDtdModel,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> tdomMessages) |
static XantlrTdom |
XantlrTdom.link(X_LLkParser parser,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> antlrMessages,
int queueSize,
ContentHandler debugSaxEvents,
TypedDTD tdomDtdModel,
MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> tdomMessages)
This method creates a XantlrTdom object, which subsequently will be used
to parse a source text (with an xantlr generated parser,
see Xantlr user documentation.,
and to generate a corresponding tdom model,
see Tdom user documentation..
|
static <T extends TypedDocument> |
TdomReader.parseXmlFile(InputSource inputSource,
Class<T> documentClass,
TypedDTD dtdInstance) |
static <T extends TypedDocument,E extends TypedExtension> |
TdomReader.parseXmlFile(InputSource inputSource,
Class<T> documentClass,
TypedDTD dtdInstance,
Class<E> extClass,
E ext) |
static <T extends TypedDocument,E extends TypedExtension> |
TdomReader.parseXmlFile(InputSource inputSource,
Class<T> documentClass,
TypedDTD dtdInstance,
Class<E> extClass,
E ext,
boolean debug)
Glueing code for creating a
tdom model from some textual representation. |
see also the complete user documentation .