jInfer

Package cz.cuni.mff.ksi.jinfer.xsdimportdom

Package containing entire logic for parsing XSD Schemas with Document Object Model parser.

See:
          Description

Class Summary
DOMHandler Class responsible for building rule-trees from DOM tree.
DOMHelper Helper class for DOMHandler, provides convenience methods used during parsing.
DOMParser Class responsible for creating Initial Grammar rules from XSD Schema.
 

Package cz.cuni.mff.ksi.jinfer.xsdimportdom Description

Package containing entire logic for parsing XSD Schemas with Document Object Model parser.

Note that there are several types of entities called "element" within this package. To avoid ambiguity, we shall use notation DOM.Element for instances of Element and notation Element for instances of Element. To add to this complication, XSD Schemas are XML documents which consist of elements and attributes. We shall refer to these XML elements as "tags" and XML attributes as "tag attributes". All names of tags and tag attributes will be written in italics. Moreover, all tags and tag attributes that are known to the parser are specified in XSDTag and XSDAttribute classes, respectively. For example, the attribute tag can have a tag attribute use - the former will match XSDTag#ATTRIBUTE and the latter will match XSDAttribute#USE . Lastly, tag attributes should not be confused with instances of Attribute , which is a class for storing information about the tag attributes inside jInfer.

XSD Schemas allow using different namespace prefixes for tag names. This parser does NOT recognize namespaces, all prefixes from tag names are trimmed. For example, there is no difference between xs:choice and xsd:choice; both will match the XSDTag.CHOICE constant.

See Also:
XSDTag, XSDAttribute, XSDBuiltInDataTypes

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011