com.sun.tools.xjc.reader.xmlschema
Class RefererFinder

java.lang.Object
  extended by com.sun.tools.xjc.reader.xmlschema.RefererFinder
All Implemented Interfaces:
XSContentTypeVisitor, XSTermVisitor, XSVisitor

final class RefererFinder
extends Object
implements XSVisitor

Finds which XSComponents refer to which XSComplexTypes.


Constructor Summary
RefererFinder()
           
 
Method Summary
 void annotation(XSAnnotation ann)
           
 void attGroupDecl(XSAttGroupDecl decl)
           
 void attributeDecl(XSAttributeDecl decl)
           
 void attributeUse(XSAttributeUse use)
           
 void complexType(XSComplexType ct)
           
 void elementDecl(XSElementDecl e)
           
 void empty(XSContentType empty)
           
 void facet(XSFacet facet)
           
 Set<XSComponent> getReferer(XSComponent src)
           
 void identityConstraint(XSIdentityConstraint decl)
           
 void modelGroup(XSModelGroup group)
           
 void modelGroupDecl(XSModelGroupDecl decl)
           
 void notation(XSNotation notation)
           
 void particle(XSParticle particle)
           
 void schema(XSSchema xs)
           
 void schemaSet(XSSchemaSet xss)
           
 void simpleType(XSSimpleType simpleType)
           
 void wildcard(XSWildcard wc)
           
 void xpath(XSXPath xp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefererFinder

RefererFinder()
Method Detail

getReferer

public Set<XSComponent> getReferer(XSComponent src)

schemaSet

public void schemaSet(XSSchemaSet xss)

schema

public void schema(XSSchema xs)
Specified by:
schema in interface XSVisitor

elementDecl

public void elementDecl(XSElementDecl e)
Specified by:
elementDecl in interface XSTermVisitor

complexType

public void complexType(XSComplexType ct)
Specified by:
complexType in interface XSVisitor

modelGroupDecl

public void modelGroupDecl(XSModelGroupDecl decl)
Specified by:
modelGroupDecl in interface XSTermVisitor

modelGroup

public void modelGroup(XSModelGroup group)
Specified by:
modelGroup in interface XSTermVisitor

particle

public void particle(XSParticle particle)
Specified by:
particle in interface XSContentTypeVisitor

simpleType

public void simpleType(XSSimpleType simpleType)
Specified by:
simpleType in interface XSContentTypeVisitor

annotation

public void annotation(XSAnnotation ann)
Specified by:
annotation in interface XSVisitor

attGroupDecl

public void attGroupDecl(XSAttGroupDecl decl)
Specified by:
attGroupDecl in interface XSVisitor

attributeDecl

public void attributeDecl(XSAttributeDecl decl)
Specified by:
attributeDecl in interface XSVisitor

attributeUse

public void attributeUse(XSAttributeUse use)
Specified by:
attributeUse in interface XSVisitor

facet

public void facet(XSFacet facet)
Specified by:
facet in interface XSVisitor

notation

public void notation(XSNotation notation)
Specified by:
notation in interface XSVisitor

identityConstraint

public void identityConstraint(XSIdentityConstraint decl)
Specified by:
identityConstraint in interface XSVisitor

xpath

public void xpath(XSXPath xp)
Specified by:
xpath in interface XSVisitor

wildcard

public void wildcard(XSWildcard wc)
Specified by:
wildcard in interface XSTermVisitor

empty

public void empty(XSContentType empty)
Specified by:
empty in interface XSContentTypeVisitor