org.kohsuke.rngom.digested
Class DXMLPrinter.DXMLPrinterVisitor

java.lang.Object
  extended by org.kohsuke.rngom.digested.DXMLPrinter.XMLWriter
      extended by org.kohsuke.rngom.digested.DXMLPrinter.DXMLPrinterVisitor
All Implemented Interfaces:
DPatternVisitor<Void>
Enclosing class:
DXMLPrinter

protected class DXMLPrinter.DXMLPrinterVisitor
extends DXMLPrinter.XMLWriter
implements DPatternVisitor<Void>


Constructor Summary
protected DXMLPrinter.DXMLPrinterVisitor()
           
 
Method Summary
protected  void on(DAnnotation ann)
           
protected  void on(DPattern p)
           
protected  void on(NameClass nc)
           
 Void onAttribute(DAttributePattern p)
           
 Void onChoice(DChoicePattern p)
           
 Void onData(DDataPattern p)
           
 Void onElement(DElementPattern p)
           
 Void onEmpty(DEmptyPattern p)
           
 Void onGrammar(DGrammarPattern p)
           
 Void onGroup(DGroupPattern p)
           
 Void onInterleave(DInterleavePattern p)
           
 Void onList(DListPattern p)
           
 Void onMixed(DMixedPattern p)
           
 Void onNotAllowed(DNotAllowedPattern p)
           
 Void onOneOrMore(DOneOrMorePattern p)
           
 Void onOptional(DOptionalPattern p)
           
 Void onRef(DRefPattern p)
           
 Void onText(DTextPattern p)
           
 Void onValue(DValuePattern p)
           
 Void onZeroOrMore(DZeroOrMorePattern p)
           
protected  void unwrapChoice(DPattern p)
           
protected  void unwrapGroup(DPattern p)
           
 
Methods inherited from class org.kohsuke.rngom.digested.DXMLPrinter.XMLWriter
attr, attr, body, end, endDocument, indent, newLine, ns, start, startDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DXMLPrinter.DXMLPrinterVisitor

protected DXMLPrinter.DXMLPrinterVisitor()
Method Detail

on

protected void on(DPattern p)

unwrapGroup

protected void unwrapGroup(DPattern p)

unwrapChoice

protected void unwrapChoice(DPattern p)

on

protected void on(NameClass nc)

on

protected void on(DAnnotation ann)

onAttribute

public Void onAttribute(DAttributePattern p)
Specified by:
onAttribute in interface DPatternVisitor<Void>

onChoice

public Void onChoice(DChoicePattern p)
Specified by:
onChoice in interface DPatternVisitor<Void>

onData

public Void onData(DDataPattern p)
Specified by:
onData in interface DPatternVisitor<Void>

onElement

public Void onElement(DElementPattern p)
Specified by:
onElement in interface DPatternVisitor<Void>

onEmpty

public Void onEmpty(DEmptyPattern p)
Specified by:
onEmpty in interface DPatternVisitor<Void>

onGrammar

public Void onGrammar(DGrammarPattern p)
Specified by:
onGrammar in interface DPatternVisitor<Void>

onGroup

public Void onGroup(DGroupPattern p)
Specified by:
onGroup in interface DPatternVisitor<Void>

onInterleave

public Void onInterleave(DInterleavePattern p)
Specified by:
onInterleave in interface DPatternVisitor<Void>

onList

public Void onList(DListPattern p)
Specified by:
onList in interface DPatternVisitor<Void>

onMixed

public Void onMixed(DMixedPattern p)
Specified by:
onMixed in interface DPatternVisitor<Void>

onNotAllowed

public Void onNotAllowed(DNotAllowedPattern p)
Specified by:
onNotAllowed in interface DPatternVisitor<Void>

onOneOrMore

public Void onOneOrMore(DOneOrMorePattern p)
Specified by:
onOneOrMore in interface DPatternVisitor<Void>

onOptional

public Void onOptional(DOptionalPattern p)
Specified by:
onOptional in interface DPatternVisitor<Void>

onRef

public Void onRef(DRefPattern p)
Specified by:
onRef in interface DPatternVisitor<Void>

onText

public Void onText(DTextPattern p)
Specified by:
onText in interface DPatternVisitor<Void>

onValue

public Void onValue(DValuePattern p)
Specified by:
onValue in interface DPatternVisitor<Void>

onZeroOrMore

public Void onZeroOrMore(DZeroOrMorePattern p)
Specified by:
onZeroOrMore in interface DPatternVisitor<Void>


Copyright © 2011. All Rights Reserved.