com.caucho.relaxng
Class CompactParser

java.lang.Object
  extended by com.caucho.relaxng.CompactParser

public class CompactParser
extends java.lang.Object

Builder for the relax.


Method Summary
 java.lang.String generateId()
           
 GrammarPattern getGrammar()
          Gets the root pattern.
 void parse(org.xml.sax.InputSource source)
          Parses the relax file.
 void setGeneratedId(int id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getGrammar

public GrammarPattern getGrammar()
Gets the root pattern.


setGeneratedId

public void setGeneratedId(int id)

generateId

public java.lang.String generateId()

parse

public void parse(org.xml.sax.InputSource source)
           throws org.xml.sax.SAXException,
                  java.io.IOException,
                  RelaxException
Parses the relax file.

Throws:
org.xml.sax.SAXException
java.io.IOException
RelaxException