src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/state/simpleType.java

changeset 1518
d9877e4e1f2b
parent 1445
06086cb6c349
child 1546
dc8316632248
equal deleted inserted replaced
1517:31ab5999e551 1518:d9877e4e1f2b
1 /* 1 /*
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
23 * questions. 23 * questions.
24 */ 24 */
25 25
26 /* this file is generated by RelaxNGCC */ 26 /* this file is generated by RelaxNGCC */
27 package com.sun.xml.internal.xsom.impl.parser.state; 27 package com.sun.xml.internal.xsom.impl.parser.state;
28
29 import com.sun.xml.internal.bind.WhiteSpaceProcessor;
30 import com.sun.xml.internal.xsom.*;
31 import com.sun.xml.internal.xsom.impl.*;
32 import com.sun.xml.internal.xsom.impl.parser.NGCCRuntimeEx;
33 import com.sun.xml.internal.xsom.parser.*;
34
35 import java.util.Collections;
36 import java.util.HashSet;
37 import java.util.Set;
38 import java.util.StringTokenizer;
39
40 import org.xml.sax.Attributes;
41 import org.xml.sax.Locator;
28 import org.xml.sax.SAXException; 42 import org.xml.sax.SAXException;
29 import org.xml.sax.XMLReader;
30 import org.xml.sax.Attributes;
31 import com.sun.xml.internal.xsom.impl.parser.NGCCRuntimeEx;
32
33 import com.sun.xml.internal.xsom.*;
34 import com.sun.xml.internal.xsom.parser.*;
35 import com.sun.xml.internal.xsom.impl.*;
36 import com.sun.xml.internal.xsom.impl.parser.*;
37 import org.xml.sax.Locator;
38 import org.xml.sax.ContentHandler;
39 import org.xml.sax.helpers.*;
40 import java.util.*;
41 import java.math.BigInteger;
42
43
44 43
45 class simpleType extends NGCCHandler { 44 class simpleType extends NGCCHandler {
46 private AnnotationImpl annotation; 45 private AnnotationImpl annotation;
47 private String name; 46 private String name;
48 private ForeignAttributesImpl fa; 47 private ForeignAttributesImpl fa;
371 public void text(String $value) throws SAXException { 370 public void text(String $value) throws SAXException {
372 int $ai; 371 int $ai;
373 switch($_ngcc_current_state) { 372 switch($_ngcc_current_state) {
374 case 13: 373 case 13:
375 { 374 {
376 name = $value; 375 name = WhiteSpaceProcessor.collapse($value);
377 $_ngcc_current_state = 12; 376 $_ngcc_current_state = 12;
378 } 377 }
379 break; 378 break;
380 case 15: 379 case 15:
381 { 380 {

mercurial