| Modifier and Type | Field and Description |
|---|---|
| private static final SchemaCache | bindingFileSchema
Lazily parsed schema for the binding file. |
| pack-priv final CodeModelClassFactory | classFactory
Wrap the codeModel object and automate error reporting. |
| pack-priv final JCodeModel | codeModel
CodeModel object that is used by this binding file. |
| private final Map | conversions
Conversion declarations. |
| private final String | defaultPackage
The -p option that should control the default Java package that will contain the generated code. |
| private final Element | dom
DOM tree that represents binding info. |
| private final Map | elements
Element declarations keyed by names. |
| protected final ErrorReceiver | errorReceiver
Controller object that can be used to report errors. |
| private final Map | interfaces
interface declarations keyed by names. |
| pack-priv final Model | |
| private static final String | XJC_NS
XJC extension namespace. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public BIConversion | Returns: A non-null valid BIConversion object.Gets the conversion declaration from the binding info. |
| public BIElement | |
| public Collection | |
| private CCustomizations | |
| private String | |
| public Long | |
| public JClass | |
| public JClass | |
| public JPackage | |
| public Collection | |
| private static Document | parse(Model model, InputSource is, ErrorReceiver receiver)
Parses an InputSource into dom4j Document. |
| bindingFileSchema | back to summary |
|---|---|
| private static final SchemaCache bindingFileSchema Lazily parsed schema for the binding file. | |
| classFactory | back to summary |
|---|---|
| pack-priv final CodeModelClassFactory classFactory Wrap the codeModel object and automate error reporting. | |
| codeModel | back to summary |
|---|---|
| pack-priv final JCodeModel codeModel CodeModel object that is used by this binding file. | |
| conversions | back to summary |
|---|---|
| private final Map<String, BIConversion> conversions Conversion declarations. | |
| defaultPackage | back to summary |
|---|---|
| private final String defaultPackage The -p option that should control the default Java package that will contain the generated code. Null if unspecified. This takes precedence over the value specified in the binding file. | |
| dom | back to summary |
|---|---|
| private final Element dom DOM tree that represents binding info. | |
| elements | back to summary |
|---|---|
| private final Map<String, BIElement> elements Element declarations keyed by names. | |
| errorReceiver | back to summary |
|---|---|
| protected final ErrorReceiver errorReceiver Controller object that can be used to report errors. | |
| interfaces | back to summary |
|---|---|
| private final Map<String, BIInterface> interfaces interface declarations keyed by names. | |
| model | back to summary |
|---|---|
| pack-priv final Model model | |
| XJC_NS | back to summary |
|---|---|
| private static final String XJC_NS XJC extension namespace. | |
| BindInfo | back to summary |
|---|---|
| public BindInfo(Model model, InputSource source, ErrorReceiver _errorReceiver) throws AbortException | |
| BindInfo | back to summary |
|---|---|
| public BindInfo(Model model, Document _dom, ErrorReceiver _errorReceiver) | |
| conversion | back to summary |
|---|---|
| public BIConversion conversion(String name) Gets the conversion declaration from the binding info.
| |
| element | back to summary |
|---|---|
| public BIElement element(String name) Gets the element declaration from the binding info.
| |
| elements | back to summary |
|---|---|
| public Collection Iterates all | |
| getGlobalCustomizations | back to summary |
|---|---|
| private CCustomizations getGlobalCustomizations() Gets the list of top-level | |
| getOption | back to summary |
|---|---|
| private String getOption(String attName, String defaultValue) Gets the value from the option element. | |
| getSerialVersionUID | back to summary |
|---|---|
| public Long getSerialVersionUID() Gets the serialVersionUID if it's turned on. | |
| getSuperClass | back to summary |
|---|---|
| public JClass getSuperClass() Gets the xjc:superClass customization if it's turned on. | |
| getSuperInterface | back to summary |
|---|---|
| public JClass getSuperInterface() Gets the xjc:superInterface customization if it's turned on. | |
| getTargetPackage | back to summary |
|---|---|
| public JPackage getTargetPackage() Gets the specified package name (options/@package). | |
| interfaces | back to summary |
|---|---|
| public Collection Returns all | |
| parse | back to summary |
|---|---|
| private static Document parse(Model model, InputSource is, ErrorReceiver receiver) throws AbortException Parses an InputSource into dom4j Document. Returns null in case of an exception. | |