com.caucho.relaxng
Class SchemaImpl

java.lang.Object
  extended by com.caucho.relaxng.SchemaImpl
All Implemented Interfaces:
Schema

public class SchemaImpl
extends java.lang.Object
implements Schema

JARV Schema implementation


Field Summary
protected static L10N L
           
 
Constructor Summary
SchemaImpl(GrammarPattern grammar)
           
 
Method Summary
 LruCache<java.lang.Object,Item> getProgramCache()
           
 Item getStartItem()
          Returns the program.
 Verifier newVerifier()
          Creates a verifier from the schema.
 void setFilename(java.lang.String filename)
          Sets the schema filename.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

L

protected static final L10N L
Constructor Detail

SchemaImpl

public SchemaImpl(GrammarPattern grammar)
           throws RelaxException
Throws:
RelaxException
Method Detail

getStartItem

public Item getStartItem()
Returns the program.


getProgramCache

public LruCache<java.lang.Object,Item> getProgramCache()

setFilename

public void setFilename(java.lang.String filename)
Sets the schema filename.


newVerifier

public Verifier newVerifier()
Creates a verifier from the schema.

Specified by:
newVerifier in interface Schema

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object