public class DocOnly
extends eu.bandm.tools.d2d2.absy.Visitor
Modifier and Type | Field and Description |
---|---|
AdditionalDocs |
data |
protected String |
fileName |
protected File |
inputFile |
static String |
KEY_MODULE_DOC |
protected Map<String,Location<XMLDocumentIdentifier>> |
modLocations |
protected String |
moduleName |
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
msg |
validating
Constructor and Description |
---|
DocOnly(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) |
Modifier and Type | Method and Description |
---|---|
void |
distribute(ModuleRegistry moduleReg,
String key,
boolean replace) |
protected void |
error(Exception ex,
String s) |
protected void |
error(Location<XMLDocumentIdentifier> loc,
String s) |
protected void |
error(String s) |
void |
fromFile(File inputFile) |
protected void |
log(String s) |
protected void |
splitdoctext(String text,
Location<XMLDocumentIdentifier> startloc) |
void |
visit(eu.bandm.tools.d2d2.absy.Element_doctext element) |
void |
visit(eu.bandm.tools.d2d2.absy.Element_documentation element)
<!ELEMENT documentation (ident, reflist?, (doctext | longdoctext)) >
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_longdoctext element) |
void |
visit(eu.bandm.tools.d2d2.absy.Element_module element) |
protected void |
warning(Location<XMLDocumentIdentifier> loc,
String s) |
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
visit
public static final String KEY_MODULE_DOC
public AdditionalDocs data
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg
protected File inputFile
protected String fileName
protected String moduleName
protected Map<String,Location<XMLDocumentIdentifier>> modLocations
public DocOnly(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg)
public void fromFile(File inputFile)
protected void error(String s)
protected void error(Location<XMLDocumentIdentifier> loc, String s)
protected void warning(Location<XMLDocumentIdentifier> loc, String s)
protected void log(String s)
public void visit(eu.bandm.tools.d2d2.absy.Element_module element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_documentation element)
<!ELEMENT documentation (ident, reflist?, (doctext | longdoctext)) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
protected void splitdoctext(String text, Location<XMLDocumentIdentifier> startloc)
public void visit(eu.bandm.tools.d2d2.absy.Element_doctext element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_longdoctext element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void distribute(ModuleRegistry moduleReg, String key, boolean replace)
see also the complete user documentation .