xmltorng.document.relaxng.impl
Class AttributeImpl

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

public class AttributeImpl
extends NonEmptyPatternImpl
implements Attribute


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
AttributeImpl(NameClass nameClass)
           
AttributeImpl(NameClass nameClass, Pattern pattern)
           
 
Method Summary
 NameClass getNameClass()
          Return the nameClass.
 Pattern getPattern()
          Return the pattern.
 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

AttributeImpl

public AttributeImpl(NameClass nameClass)

AttributeImpl

public AttributeImpl(NameClass nameClass,
                     Pattern pattern)
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

getNameClass

public NameClass getNameClass()
Description copied from interface: Attribute
Return the nameClass. Is not null.

Specified by:
getNameClass in interface Attribute

getPattern

public Pattern getPattern()
Description copied from interface: Attribute
Return the pattern. is not null.

Specified by:
getPattern in interface Attribute