| java.lang.Object org.jibx.binding.generator.SchemaDetailDirectory
SchemaDetailDirectory | public class SchemaDetailDirectory (Code) | | Directory for components included in schema generation. This includes both
<mapping> elements of the bindings and special formats, with the latter
currently limited to enumeration types. The building code works from a
supplied list of bindings, walking the tree structure of the bindings to find
all mappings and processing each mapping directly using the lists of child
components. It creates mapping details and sets flags for the types of access
to each mapping, as well as creating enumeration details and counting usage
to select globals.
|
Inner Class :public class AnalysisVisitor extends ModelVisitor | |
SchemaDetailDirectory | public SchemaDetailDirectory(IClassLocator loc, GlobalCustom custom, ValidationContext vctx)(Code) | | Constructor.
Parameters: loc - locator for class information (null if none) Parameters: custom - binding customization information (used for creating namesas needed) Parameters: vctx - binding validation context |
forceMappingDetail | protected SchemaMappingDetail forceMappingDetail(MappingElement map)(Code) | | Find detail information for a <mapping>. If this is the first time a
particular mapping was requested, a new detail information will be
created for that mapping and returned.
Parameters: map - detail |
getMappingDetail | public SchemaMappingDetail getMappingDetail(MappingElement map)(Code) | | Get detail information for a <mapping>. If the detail information
does not exist, this throws an exception.
Parameters: map - detail |
getSimpleDetail | public SchemaEnumDetail getSimpleDetail(String type)(Code) | | Get detail information for a simple type. If the detail information
does not exist, this throws an exception.
Parameters: type - detail |
populate | public void populate(ArrayList holders)(Code) | | Populate the mapping directory from a supplied list of root bindings.
This uses a visitor to analyze the bindings, building the detail
information to be used during the actual generation process.
Parameters: holders - |
|
|