com.sun.tools.xjc.reader.relaxng

Class TypeUseBinder

final class TypeUseBinder extends Object implements DPatternVisitor<TypeUse>

Walks the pattern tree and binds it to a TypeUse. The singleton instance is kept in RELAXNGCompiler. TODO: I should really normalize before process.
Constructor Summary
TypeUseBinder(RELAXNGCompiler compiler)
Method Summary
TypeUseonAttribute(DAttributePattern p)
TypeUseonChoice(DChoicePattern p)
TypeUseonData(DDataPattern p)
TypeUseonElement(DElementPattern p)
TypeUseonEmpty(DEmptyPattern p)
TypeUseonGrammar(DGrammarPattern p)
TypeUseonGroup(DGroupPattern p)
TypeUseonInterleave(DInterleavePattern p)
TypeUseonList(DListPattern p)
TypeUseonMixed(DMixedPattern p)
TypeUseonNotAllowed(DNotAllowedPattern p)
TypeUseonOneOrMore(DOneOrMorePattern p)
TypeUseonOptional(DOptionalPattern p)
TypeUseonRef(DRefPattern p)
TypeUseonText(DTextPattern p)
TypeUseonValue(DValuePattern p)
TypeUseonZeroOrMore(DZeroOrMorePattern p)

Constructor Detail

TypeUseBinder

public TypeUseBinder(RELAXNGCompiler compiler)

Method Detail

onAttribute

public TypeUse onAttribute(DAttributePattern p)

onChoice

public TypeUse onChoice(DChoicePattern p)

onData

public TypeUse onData(DDataPattern p)

onElement

public TypeUse onElement(DElementPattern p)

onEmpty

public TypeUse onEmpty(DEmptyPattern p)

onGrammar

public TypeUse onGrammar(DGrammarPattern p)

onGroup

public TypeUse onGroup(DGroupPattern p)

onInterleave

public TypeUse onInterleave(DInterleavePattern p)

onList

public TypeUse onList(DListPattern p)

onMixed

public TypeUse onMixed(DMixedPattern p)

onNotAllowed

public TypeUse onNotAllowed(DNotAllowedPattern p)

onOneOrMore

public TypeUse onOneOrMore(DOneOrMorePattern p)

onOptional

public TypeUse onOptional(DOptionalPattern p)

onRef

public TypeUse onRef(DRefPattern p)

onText

public TypeUse onText(DTextPattern p)

onValue

public TypeUse onValue(DValuePattern p)

onZeroOrMore

public TypeUse onZeroOrMore(DZeroOrMorePattern p)