Top Description Fields Constructors Methods
com.sun.tools.xjc.reader.relaxng

pack-priv final Class DefineFinder

extends DPatternWalker
Class Inheritance
Imports
java.util.HashSet, .Set, com.sun.tools.rngom.digested.DDefine, .DGrammarPattern, .DPatternWalker, .DRefPattern

Recursively find all DDefines in the grammar.
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
public final Set<DDefine>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Void
public Void
Inherited from com.sun.tools.rngom.digested.DPatternWalker:
onAttributeonChoiceonContaineronDataonElementonEmptyonGrouponInterleaveonListonMixedonNotAllowedonOneOrMoreonOptionalonTextonUnaryonValueonXmlTokenonZeroOrMore

Field Detail

defsback to summary
public final Set<DDefine> defs

Constructor Detail

DefineFinderback to summary
pack-priv DefineFinder()

Method Detail

onGrammarback to summary
public Void onGrammar(DGrammarPattern p)

Overrides com.sun.tools.rngom.digested.DPatternWalker.onGrammar.

Implements com.sun.tools.rngom.digested.DPatternVisitor.onGrammar.

Annotations
@Override
onRefback to summary
public Void onRef(DRefPattern p)

Overrides com.sun.tools.rngom.digested.DPatternWalker.onRef.

Implements com.sun.tools.rngom.digested.DPatternVisitor.onRef.

We visit all DDefines from DGrammarPattern, so no point in resolving refs.

Annotations
@Override