com.sun.tools.xjc.reader.relaxng
public final class RELAXNGCompiler extends Object
Field Summary | |
---|---|
Map<CClassInfo,DPattern> | bindQueue
Classes that need to be bound.
|
Map<DPattern,CTypeInfo[]> | classes
Patterns that are mapped to Java concepts.
|
Map<String,DatatypeLib> | datatypes |
Set<DDefine> | defs
All named patterns in this schema. |
DPattern | grammar
Schema to compile. |
Model | model |
Options | opts |
JPackage | pkg
The package to which we generate the code into. |
TypeUseBinder | typeUseBinder |
Constructor Summary | |
---|---|
RELAXNGCompiler(DPattern grammar, JCodeModel codeModel, Options opts) |
Method Summary | |
---|---|
static Model | build(DPattern grammar, JCodeModel codeModel, Options opts) |
The value is an array because we map elements with finite names to multiple classes. TODO: depending on the type of the key, the type of the values can be further restricted. Make this into its own class to represent those constraints better.