com.sun.xml.xsom.impl.parser.state
Class Schema

java.lang.Object
  extended by com.sun.xml.xsom.impl.parser.state.NGCCHandler
      extended by com.sun.xml.xsom.impl.parser.state.Schema
All Implemented Interfaces:
NGCCEventReceiver

public class Schema
extends NGCCHandler


Field Summary
protected  String $localName
           
protected  String $qname
           
protected  NGCCRuntimeEx $runtime
           
protected  String $uri
           
 
Fields inherited from class com.sun.xml.xsom.impl.parser.state.NGCCHandler
_cookie, _parent, _source
 
Constructor Summary
Schema(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, boolean _includeMode, String _expectedNamespace)
           
Schema(NGCCRuntimeEx runtime, boolean _includeMode, String _expectedNamespace)
           
 
Method Summary
 boolean accepted()
           
 void enterAttribute(String $__uri, String $__local, String $__qname)
           
 void enterElement(String $__uri, String $__local, String $__qname, Attributes $attrs)
           
 NGCCRuntime getRuntime()
          This method will be implemented by the generated code and returns a reference to the current runtime.
 void leaveAttribute(String $__uri, String $__local, String $__qname)
           
 void leaveElement(String $__uri, String $__local, String $__qname)
           
 void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)
          Notifies the completion of a child object.
 void text(String $value)
           
 
Methods inherited from class com.sun.xml.xsom.impl.parser.state.NGCCHandler
revertToParentFromEnterAttribute, revertToParentFromEnterElement, revertToParentFromLeaveAttribute, revertToParentFromLeaveElement, revertToParentFromText, spawnChildFromEnterAttribute, spawnChildFromEnterElement, spawnChildFromLeaveAttribute, spawnChildFromLeaveElement, spawnChildFromText, unexpectedEnterAttribute, unexpectedEnterElement, unexpectedLeaveAttribute, unexpectedLeaveElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

$runtime

protected final NGCCRuntimeEx $runtime

$uri

protected String $uri

$localName

protected String $localName

$qname

protected String $qname
Constructor Detail

Schema

public Schema(NGCCHandler parent,
              NGCCEventSource source,
              NGCCRuntimeEx runtime,
              int cookie,
              boolean _includeMode,
              String _expectedNamespace)

Schema

public Schema(NGCCRuntimeEx runtime,
              boolean _includeMode,
              String _expectedNamespace)
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.

Specified by:
getRuntime in class NGCCHandler

enterElement

public void enterElement(String $__uri,
                         String $__local,
                         String $__qname,
                         Attributes $attrs)
                  throws SAXException
Throws:
SAXException

leaveElement

public void leaveElement(String $__uri,
                         String $__local,
                         String $__qname)
                  throws SAXException
Throws:
SAXException

enterAttribute

public void enterAttribute(String $__uri,
                           String $__local,
                           String $__qname)
                    throws SAXException
Throws:
SAXException

leaveAttribute

public void leaveAttribute(String $__uri,
                           String $__local,
                           String $__qname)
                    throws SAXException
Throws:
SAXException

text

public void text(String $value)
          throws SAXException
Throws:
SAXException

onChildCompleted

public void onChildCompleted(Object $__result__,
                             int $__cookie__,
                             boolean $__needAttCheck__)
                      throws SAXException
Description copied from class: NGCCHandler
Notifies the completion of a child object.

Specified by:
onChildCompleted in class NGCCHandler
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:
SAXException

accepted

public boolean accepted()


Copyright © 2012 Oracle. All Rights Reserved.