xmltorng.document.relaxng.impl
Class ElementDefinitionImpl

java.lang.Object
  extended by xmltorng.document.relaxng.impl.ElementDefinitionImpl
All Implemented Interfaces:
ElementDefinition

public class ElementDefinitionImpl
extends java.lang.Object
implements ElementDefinition


Constructor Summary
ElementDefinitionImpl(NameClass nameClass)
           
 
Method Summary
 NameClass getNameClass()
          Return the nameClass.
 Pattern getPattern()
          Return the pattern or null if the element definition is not allowed.
 void setPattern(Pattern pattern)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementDefinitionImpl

public ElementDefinitionImpl(NameClass nameClass)
Method Detail

setPattern

public void setPattern(Pattern pattern)

getNameClass

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

Specified by:
getNameClass in interface ElementDefinition

getPattern

public Pattern getPattern()
Description copied from interface: ElementDefinition
Return the pattern or null if the element definition is not allowed.

Specified by:
getPattern in interface ElementDefinition