xmltorng.document.relaxng.impl
Class NonEmptyPatternImpl

java.lang.Object
  extended by xmltorng.document.relaxng.impl.NonEmptyPatternImpl
All Implemented Interfaces:
NonEmptyPattern, Pattern
Direct Known Subclasses:
AttributeImpl, DataImpl, GroupPatternImpl, ListPatternImpl, RefImpl, TextImpl, ValueImpl

public abstract class NonEmptyPatternImpl
extends java.lang.Object
implements NonEmptyPattern


Field Summary
 
Fields inherited from interface xmltorng.framework.document.relaxng.NonEmptyPattern
PATTERN_ATTRIBUTE, PATTERN_DATA, PATTERN_GROUP, PATTERN_LIST, PATTERN_REF, PATTERN_TEXT, PATTERN_VALUE
 
Constructor Summary
NonEmptyPatternImpl()
           
 
Method Summary
 boolean canBeRepeated()
          Implements the "oneOrMore" pattern of the grammar.
 boolean isEmpty()
           
 void setBeRepeated(boolean canBeRepeated)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface xmltorng.framework.document.relaxng.NonEmptyPattern
getPatternType
 

Constructor Detail

NonEmptyPatternImpl

public NonEmptyPatternImpl()
Method Detail

setBeRepeated

public void setBeRepeated(boolean canBeRepeated)

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Pattern

canBeRepeated

public boolean canBeRepeated()
Description copied from interface: NonEmptyPattern
Implements the "oneOrMore" pattern of the grammar.

Specified by:
canBeRepeated in interface NonEmptyPattern