/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/* this file is generated by RelaxNGCC */
private boolean isLocal;
protected final NGCCRuntimeEx $runtime;
private int $_ngcc_current_state;
return($runtime);
}
public attributeDeclBody(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, Locator _locator, boolean _isLocal, String _defaultValue, String _fixedValue) {
this.defaultValue = _defaultValue;
this.fixedValue = _fixedValue;
$_ngcc_current_state = 13;
}
public attributeDeclBody(NGCCRuntimeEx runtime, Locator _locator, boolean _isLocal, String _defaultValue, String _fixedValue) {
}
}
formSpecified = true;
}
public void enterElement(String $__uri, String $__local, String $__qname, Attributes $attrs) throws SAXException {
int $ai;
switch($_ngcc_current_state) {
case 7:
{
NGCCHandler h = new annotation(this, super._source, $runtime, 210, null,AnnotationContext.ATTRIBUTE_DECL);
}
else {
$_ngcc_current_state = 1;
}
}
break;
case 0:
{
}
break;
case 13:
{
}
else {
$_ngcc_current_state = 12;
}
}
break;
case 9:
{
if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || ((($ai = $runtime.getAttributeIndex("","type"))>=0 && (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))))) {
}
else {
}
}
break;
case 12:
{
}
else {
}
}
break;
case 1:
{
}
else {
}
else {
$_ngcc_current_state = 0;
}
}
}
break;
default:
{
}
break;
}
}
int $ai;
switch($_ngcc_current_state) {
case 7:
{
$_ngcc_current_state = 1;
}
break;
case 0:
{
}
break;
case 13:
{
}
else {
$_ngcc_current_state = 12;
}
}
break;
case 9:
{
}
else {
}
}
break;
case 12:
{
}
else {
}
}
break;
case 1:
{
}
else {
$_ngcc_current_state = 0;
}
}
break;
default:
{
}
break;
}
}
int $ai;
switch($_ngcc_current_state) {
case 7:
{
$_ngcc_current_state = 1;
}
break;
case 0:
{
}
break;
case 13:
{
$_ngcc_current_state = 15;
}
else {
$_ngcc_current_state = 12;
}
}
break;
case 9:
{
}
else {
}
}
break;
case 12:
{
$_ngcc_current_state = 11;
}
else {
}
}
break;
case 1:
{
$_ngcc_current_state = 5;
}
else {
$_ngcc_current_state = 0;
}
}
break;
default:
{
}
break;
}
}
int $ai;
switch($_ngcc_current_state) {
case 10:
{
$_ngcc_current_state = 9;
}
else {
}
}
break;
case 7:
{
$_ngcc_current_state = 1;
}
break;
case 0:
{
}
break;
case 13:
{
$_ngcc_current_state = 12;
}
break;
case 9:
{
}
break;
case 14:
{
$_ngcc_current_state = 12;
}
else {
}
}
break;
case 4:
{
$_ngcc_current_state = 0;
}
else {
}
}
break;
case 1:
{
$_ngcc_current_state = 0;
}
break;
default:
{
}
break;
}
}
int $ai;
switch($_ngcc_current_state) {
case 7:
{
$_ngcc_current_state = 1;
}
break;
case 5:
{
spawnChildFromText(h, $value);
}
break;
case 0:
{
}
break;
case 13:
{
}
else {
$_ngcc_current_state = 12;
}
}
break;
case 9:
{
spawnChildFromText(h, $value);
}
else {
spawnChildFromText(h, $value);
}
}
break;
case 11:
{
$_ngcc_current_state = 10;
}
break;
case 12:
{
}
}
break;
case 1:
{
}
else {
$_ngcc_current_state = 0;
}
}
break;
case 15:
{
spawnChildFromText(h, $value);
}
else {
spawnChildFromText(h, $value);
}
}
}
break;
}
}
public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)throws SAXException {
switch($__cookie__) {
case 210:
{
$_ngcc_current_state = 1;
}
break;
case 217:
{
action1();
$_ngcc_current_state = 14;
}
break;
case 203:
{
action0();
$_ngcc_current_state = 4;
}
break;
case 212:
{
$_ngcc_current_state = 7;
}
break;
case 201:
{
$_ngcc_current_state = 0;
}
break;
}
}
public boolean accepted() {
return((($_ngcc_current_state == 1) || (($_ngcc_current_state == 0) || ($_ngcc_current_state == 7))));
}
private boolean form;
private boolean formSpecified = false;
// type defaults to anySimpleType
// global attributes are always qualified
else tns = "";
// proper handling of anonymous types
type );
}
}