com.sun.tools.xjc.reader.xmlschema
class UnusedCustomizationChecker extends BindingComponent implements XSVisitor, XSSimpleTypeVisitor
Since we scan the whole content tree, we use this to check for unused xmime:expectedContentTypes attributes. TODO: if we find this kind of error checks more common, use the visitors so that we don't have to mix everything in one class.
Method Summary | |
---|---|
void | annotation(XSAnnotation ann) |
void | attGroupDecl(XSAttGroupDecl decl) |
void | attributeDecl(XSAttributeDecl decl) |
void | attributeUse(XSAttributeUse use) |
void | complexType(XSComplexType type) |
void | elementDecl(XSElementDecl decl) |
void | empty(XSContentType empty) |
void | facet(XSFacet facet) |
void | identityConstraint(XSIdentityConstraint id) |
void | listSimpleType(XSListSimpleType type) |
void | modelGroup(XSModelGroup group) |
void | modelGroupDecl(XSModelGroupDecl decl) |
void | notation(XSNotation notation) |
void | particle(XSParticle particle) |
void | restrictionSimpleType(XSRestrictionSimpleType type) |
void | run()
Runs the check. |
void | schema(XSSchema schema) |
void | simpleType(XSSimpleType simpleType) |
void | unionSimpleType(XSUnionSimpleType type) |
void | wildcard(XSWildcard wc) |
void | xpath(XSXPath xp) |