|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jaxfront.core.xsdgen.DTD2XS
public class DTD2XS
DTD => REC-xmlschema-1-20010502
Constructor Summary | |
---|---|
DTD2XS(java.lang.Object log)
Create a DTD to REC-xmlschema-1-20010502 translator. |
Method Summary | |
---|---|
java.lang.String |
translate(java.lang.String dtdURI,
java.io.InputStream xsltStream,
boolean resolveEntities,
boolean ignoreComments,
int commentLength,
java.lang.String commentLanguage,
java.lang.String conceptRelation,
int conceptHighlight,
int conceptOccurrence)
Translate DTD to REC-xmlschema-1-20010502. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DTD2XS(java.lang.Object log)
log
- Where to put logging information.Method Detail |
---|
public java.lang.String translate(java.lang.String dtdURI, java.io.InputStream xsltStream, boolean resolveEntities, boolean ignoreComments, int commentLength, java.lang.String commentLanguage, java.lang.String conceptRelation, int conceptHighlight, int conceptOccurrence)
dtdURL
- Location of the DTD resource.resolveEntities
- Resolve DTD entities. Unused DTD entities are ignored. Map meaningful DTD entities onto named, i.e. reusable XML Schema concepts such as group, attributeGroup and simpleType.preserveComments
- Preserve DTD comments. Map DTD comments onto XML Schema documentation. Locates DTD comments at /schema/annotation[1]/documentation[i] referred to by commentLanguage
- Examples: "en", "de" ... Result: <documentation xml:lang="en"/>.commentLength
- Ignore DTD comments with length greater than commentLength
.conceptRelation
- Relate DTD comments to model concepts. Ignore comments without concept relation.schemaConcepts
- Example: "element enumeration" relates DTD comments to the model concepts value-of(element/@name), value-of(enumeration/@value).minRelation
- Minimum relation between DTD comment and model concept. Heuristics
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |