Class DPattern

    • Constructor Detail

      • DPattern

        public DPattern()
    • Method Detail

      • getLocation

        public org.xml.sax.Locator getLocation()
        Returns where the pattern is defined in the source code.
      • getAnnotation

        public DAnnotation getAnnotation()
        Returns the annotation associated with it.
        Returns:
        may be empty, but never be null.
      • isNullable

        public abstract boolean isNullable()
        Returns true if this pattern is nullable. A nullable pattern is a pattern that can match the empty sequence.
      • createParseable

        public Parseable createParseable()
        Creates a Parseable object that reparses this pattern.
      • isElement

        public final boolean isElement()
        Returns true if this is DElementPattern.
      • isAttribute

        public final boolean isAttribute()
        Returns true if this is DAttributePattern.