Package | Description |
---|---|
fr.ufrt.xmlcorrector.vocabtranslator |
Modifier and Type | Method and Description |
---|---|
void |
VocabTranslator.DTDtoXML(java.lang.String dtdFile,
java.lang.String dtdXmlFile)
Create and XML file from a DTD by keeping only element names and
translating words into characters (attributes, PCDATA and "Any" are not
treated) E.g. the following DTD:
|
org.jdom.Document |
VocabTranslator.translateDTD(com.wutka.dtd.DTD dtd)
transform a DTD to an XML document while translating words into
characters (attributes, PCDATA and "Any" are not treated) E.g. the
following DTD:
|
org.jdom.Element |
VocabTranslator.translateDTDElement(com.wutka.dtd.DTDElement elem)
transform a DTD element to an XML element by translating words into
characters (attributes, PCDATA and "Any" are not treated)
|
java.lang.String |
VocabTranslator.translateDTDItem(com.wutka.dtd.DTDItem item)
transform a DTD element's content to a string while translating it into a
character (attributes, PCDATA and "Any" are not treated)
|