Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.msv.writer.relaxng
Class PatternWriter

    java.lang.Object
      com.sun.msv.writer.relaxng.PatternWriter

All Implemented Interfaces:
  ExpressionVisitorVoid

public abstract class PatternWriter
extends java.lang.Object
implements ExpressionVisitorVoid

Visits Expression and writes it as RELAX NG.

Constructor Summary
`PatternWriter(Context ctxt)`

Method Summary
`void` | `onAnyString()`
`void` | `onAttribute(AttributeExp exp)`
`void` | `onChoice(ChoiceExp exp)`
`void` | `onConcur(ConcurExp exp)`
`void` | `onData(DataExp exp)`
`void` | `onElement(ElementExp exp)`
`void` | `onEpsilon()`
`void` | `onInterleave(InterleaveExp exp)`
`void` | `onList(ListExp exp)`
`void` | `onMixed(MixedExp exp)`
`void` | `onNullSet()`
`void` | `onOneOrMore(OneOrMoreExp exp)`
`abstract void` | `onOther(OtherExp exp)`
`abstract void` | `onRef(ReferenceExp exp)`
`void` | `onSequence(SequenceExp exp)`
`void` | `onValue(ValueExp exp)`
`void` | `visitBinExp(java.lang.String elementName, BinaryExp exp, java.lang.Class type)`
`void` | `visitUnary(Expression exp)` print expression but surpress unnecessary sequence.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PatternWriter

    public PatternWriter(Context ctxt)

Method Detail

### onOther

    public abstract void onOther(OtherExp exp)

  Specified by:
    `onOther` in interface `ExpressionVisitorVoid`

### onRef

    public abstract void onRef(ReferenceExp exp)

  Specified by:
    `onRef` in interface `ExpressionVisitorVoid`

### onElement

    public void onElement(ElementExp exp)

  Specified by:
    `onElement` in interface `ExpressionVisitorVoid`

### onEpsilon

    public void onEpsilon()

  Specified by:
    `onEpsilon` in interface `ExpressionVisitorVoid`

### onNullSet

    public void onNullSet()

  Specified by:
    `onNullSet` in interface `ExpressionVisitorVoid`

### onAnyString

    public void onAnyString()

  Specified by:
    `onAnyString` in interface `ExpressionVisitorVoid`

### onInterleave

    public void onInterleave(InterleaveExp exp)

  Specified by:
    `onInterleave` in interface `ExpressionVisitorVoid`

### onConcur

    public void onConcur(ConcurExp exp)

  Specified by:
    `onConcur` in interface `ExpressionVisitorVoid`

### onList

    public void onList(ListExp exp)

  Specified by:
    `onList` in interface `ExpressionVisitorVoid`

### onChoice

    public void onChoice(ChoiceExp exp)

  Specified by:
    `onChoice` in interface `ExpressionVisitorVoid`

### onSequence

    public void onSequence(SequenceExp exp)

  Specified by:
    `onSequence` in interface `ExpressionVisitorVoid`

### visitBinExp

    public void visitBinExp(java.lang.String elementName,
                            BinaryExp exp,
                            java.lang.Class type)

### onMixed

    public void onMixed(MixedExp exp)

  Specified by:
    `onMixed` in interface `ExpressionVisitorVoid`

### onOneOrMore

    public void onOneOrMore(OneOrMoreExp exp)

  Specified by:
    `onOneOrMore` in interface `ExpressionVisitorVoid`

### onAttribute

    public void onAttribute(AttributeExp exp)

  Specified by:
    `onAttribute` in interface `ExpressionVisitorVoid`

### visitUnary

    public void visitUnary(Expression exp)

  print expression but surpress unnecessary sequence.

### onValue

    public void onValue(ValueExp exp)

  Specified by:
    `onValue` in interface `ExpressionVisitorVoid`

### onData

    public void onData(DataExp exp)

  Specified by:
    `onData` in interface `ExpressionVisitorVoid`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD