com.caucho.relaxng.pattern
Class NsNamePattern

java.lang.Object
  extended by com.caucho.relaxng.pattern.Pattern
      extended by com.caucho.relaxng.pattern.NameClassPattern
          extended by com.caucho.relaxng.pattern.NsNamePattern

public class NsNamePattern
extends NameClassPattern

Relax name pattern


Field Summary
 
Fields inherited from class com.caucho.relaxng.pattern.NameClassPattern
L
 
Constructor Summary
NsNamePattern()
          Creates a new element pattern.
NsNamePattern(java.lang.String ns)
          Creates a new element pattern.
NsNamePattern(java.lang.String name, java.lang.String ns)
          Creates a new element pattern.
 
Method Summary
 NameClassItem createNameItem()
          Creates the program.
 boolean equals(java.lang.Object o)
           
 java.lang.String getTagName()
          Returns the Relax schema name.
 void setExcept(NameClassPattern pattern)
          Sets the except name pattern.
 void setNamespace(java.lang.String ns)
           
 java.lang.String toProduction()
          Returns a string for the production.
 java.lang.String toString()
          Debugging.
 
Methods inherited from class com.caucho.relaxng.pattern.NameClassPattern
setParent
 
Methods inherited from class com.caucho.relaxng.pattern.Pattern
addChild, addNameChild, createItem, endElement, error, getElementName, getLocation, getParent, hasData, hasElement, setElementName, setFilename, setLine
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NsNamePattern

public NsNamePattern()
Creates a new element pattern.


NsNamePattern

public NsNamePattern(java.lang.String ns)
Creates a new element pattern.


NsNamePattern

public NsNamePattern(java.lang.String name,
                     java.lang.String ns)
Creates a new element pattern.

Method Detail

setNamespace

public void setNamespace(java.lang.String ns)

getTagName

public java.lang.String getTagName()
Returns the Relax schema name.

Overrides:
getTagName in class Pattern

setExcept

public void setExcept(NameClassPattern pattern)
Sets the except name pattern.


createNameItem

public NameClassItem createNameItem()
                             throws RelaxException
Creates the program.

Overrides:
createNameItem in class Pattern
Throws:
RelaxException

toProduction

public java.lang.String toProduction()
Returns a string for the production.

Overrides:
toProduction in class Pattern

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in class Pattern

toString

public java.lang.String toString()
Debugging.

Overrides:
toString in class java.lang.Object