com.sun.tools.jxc.gen.config
Class Schema

java.lang.Object
  extended by com.sun.tools.jxc.gen.config.NGCCHandler
      extended by com.sun.tools.jxc.gen.config.Schema
All Implemented Interfaces:
NGCCEventReceiver

public class Schema
extends NGCCHandler


Constructor Summary
Schema(NGCCHandler parent, NGCCEventSource source, com.sun.tools.jxc.NGCCRuntimeEx runtime, int cookie, java.io.File _baseDir)
           
Schema(com.sun.tools.jxc.NGCCRuntimeEx runtime, java.io.File _baseDir)
           
 
Method Summary
 boolean accepted()
           
 void enterAttribute(java.lang.String $__uri, java.lang.String $__local, java.lang.String $__qname)
           
 void enterElement(java.lang.String $__uri, java.lang.String $__local, java.lang.String $__qname, org.xml.sax.Attributes $attrs)
           
 java.io.File getLocation()
           
 java.lang.String getNamespace()
           
 NGCCRuntime getRuntime()
          This method will be implemented by the generated code and returns a reference to the current runtime.
 void leaveAttribute(java.lang.String $__uri, java.lang.String $__local, java.lang.String $__qname)
           
 void leaveElement(java.lang.String $__uri, java.lang.String $__local, java.lang.String $__qname)
           
 void onChildCompleted(java.lang.Object result, int cookie, boolean needAttCheck)
          Notifies the completion of a child object.
 void text(java.lang.String $value)
           
 
Methods inherited from class com.sun.tools.jxc.gen.config.NGCCHandler
revertToParentFromEnterAttribute, revertToParentFromEnterElement, revertToParentFromLeaveAttribute, revertToParentFromLeaveElement, revertToParentFromText, spawnChildFromEnterAttribute, spawnChildFromEnterElement, spawnChildFromLeaveAttribute, spawnChildFromLeaveElement, spawnChildFromText, unexpectedEnterAttribute, unexpectedEnterElement, unexpectedLeaveAttribute, unexpectedLeaveElement
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Schema

public Schema(NGCCHandler parent,
              NGCCEventSource source,
              com.sun.tools.jxc.NGCCRuntimeEx runtime,
              int cookie,
              java.io.File _baseDir)

Schema

public Schema(com.sun.tools.jxc.NGCCRuntimeEx runtime,
              java.io.File _baseDir)
Method Detail

getRuntime

public final NGCCRuntime getRuntime()
Description copied from class: NGCCHandler
This method will be implemented by the generated code and returns a reference to the current runtime.


enterElement

public void enterElement(java.lang.String $__uri,
                         java.lang.String $__local,
                         java.lang.String $__qname,
                         org.xml.sax.Attributes $attrs)
                  throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

leaveElement

public void leaveElement(java.lang.String $__uri,
                         java.lang.String $__local,
                         java.lang.String $__qname)
                  throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

enterAttribute

public void enterAttribute(java.lang.String $__uri,
                           java.lang.String $__local,
                           java.lang.String $__qname)
                    throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

leaveAttribute

public void leaveAttribute(java.lang.String $__uri,
                           java.lang.String $__local,
                           java.lang.String $__qname)
                    throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

text

public void text(java.lang.String $value)
          throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

onChildCompleted

public void onChildCompleted(java.lang.Object result,
                             int cookie,
                             boolean needAttCheck)
                      throws org.xml.sax.SAXException
Description copied from class: NGCCHandler
Notifies the completion of a child object.

Parameters:
result - The parsing result of the child state.
cookie - The cookie value passed to the child object when it is created.
needAttCheck - This flag is true when the callee needs to call the processAttribute method to check attribute transitions. This flag is set to false when this method is triggered by attribute transition.
Throws:
org.xml.sax.SAXException

accepted

public boolean accepted()

getNamespace

public java.lang.String getNamespace()

getLocation

public java.io.File getLocation()