xmltorng.document.relaxng.impl
Class RefImpl

java.lang.Object
  extended by xmltorng.document.relaxng.impl.NonEmptyPatternImpl
      extended by xmltorng.document.relaxng.impl.RefImpl
All Implemented Interfaces:
NonEmptyPattern, Pattern, Ref

public class RefImpl
extends NonEmptyPatternImpl
implements Ref


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
RefImpl(ElementDefinition elementDefinition)
           
 
Method Summary
 ElementDefinition getElementDefinition()
          Return the element definition.
 int getPatternType()
          Return the pattern type.
 
Methods inherited from class xmltorng.document.relaxng.impl.NonEmptyPatternImpl
canBeRepeated, isEmpty, setBeRepeated
 
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
canBeRepeated
 
Methods inherited from interface xmltorng.framework.document.relaxng.Pattern
isEmpty
 

Constructor Detail

RefImpl

public RefImpl(ElementDefinition elementDefinition)
Method Detail

getPatternType

public int getPatternType()
Description copied from interface: NonEmptyPattern
Return the pattern type. Is one of the PATTERN_* constants.

Specified by:
getPatternType in interface NonEmptyPattern

getElementDefinition

public ElementDefinition getElementDefinition()
Description copied from interface: Ref
Return the element definition. Is not null.

Specified by:
getElementDefinition in interface Ref