Class DRefPattern

java.lang.Object
com.sun.tools.rngom.digested.DPattern
com.sun.tools.rngom.digested.DRefPattern
All Implemented Interfaces:
ParsedPattern

public class DRefPattern extends DPattern
Author:
Kohsuke Kawaguchi ([email protected])
  • Constructor Details

    • DRefPattern

      public DRefPattern(DDefine target)
  • Method Details

    • isNullable

      public boolean isNullable()
      Description copied from class: DPattern
      Returns true if this pattern is nullable. A nullable pattern is a pattern that can match the empty sequence.
      Specified by:
      isNullable in class DPattern
    • getTarget

      public DDefine getTarget()
      Gets the DDefine that this block refers to.
    • getName

      public String getName()
      Gets the name of the target.
    • accept

      public Object accept(DPatternVisitor visitor)
      Specified by:
      accept in class DPattern