/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.xerces.impl.xs.traversers;
import java.io.IOException;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Locale;
import java.util.Stack;
import java.util.Vector;
import javax.xml.stream.XMLEventReader;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamReader;
import org.apache.xerces.impl.Constants;
import org.apache.xerces.impl.XMLEntityManager;
import org.apache.xerces.impl.XMLErrorReporter;
import org.apache.xerces.impl.dv.SchemaDVFactory;
import org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl;
import org.apache.xerces.impl.xs.SchemaGrammar;
import org.apache.xerces.impl.xs.SchemaNamespaceSupport;
import org.apache.xerces.impl.xs.SchemaSymbols;
import org.apache.xerces.impl.xs.XMLSchemaException;
import org.apache.xerces.impl.xs.XMLSchemaLoader;
import org.apache.xerces.impl.xs.XSAttributeDecl;
import org.apache.xerces.impl.xs.XSAttributeGroupDecl;
import org.apache.xerces.impl.xs.XSComplexTypeDecl;
import org.apache.xerces.impl.xs.XSDDescription;
import org.apache.xerces.impl.xs.XSDeclarationPool;
import org.apache.xerces.impl.xs.XSElementDecl;
import org.apache.xerces.impl.xs.XSGrammarBucket;
import org.apache.xerces.impl.xs.XSGroupDecl;
import org.apache.xerces.impl.xs.XSMessageFormatter;
import org.apache.xerces.impl.xs.XSModelGroupImpl;
import org.apache.xerces.impl.xs.XSNotationDecl;
import org.apache.xerces.impl.xs.XSParticleDecl;
import org.apache.xerces.impl.xs.identity.IdentityConstraint;
import org.apache.xerces.impl.xs.opti.ElementImpl;
import org.apache.xerces.impl.xs.opti.SchemaDOMParser;
import org.apache.xerces.impl.xs.opti.SchemaParsingConfig;
import org.apache.xerces.impl.xs.util.SimpleLocator;
import org.apache.xerces.impl.xs.util.XSInputSource;
import org.apache.xerces.parsers.SAXParser;
import org.apache.xerces.parsers.XML11Configuration;
import org.apache.xerces.util.DOMInputSource;
import org.apache.xerces.util.DOMUtil;
import org.apache.xerces.util.DefaultErrorHandler;
import org.apache.xerces.util.ErrorHandlerWrapper;
import org.apache.xerces.util.SAXInputSource;
import org.apache.xerces.util.StAXInputSource;
import org.apache.xerces.util.StAXLocationWrapper;
import org.apache.xerces.util.SymbolHash;
import org.apache.xerces.util.SymbolTable;
import org.apache.xerces.util.XMLSymbols;
import org.apache.xerces.util.URI.MalformedURIException;
import org.apache.xerces.xni.QName;
import org.apache.xerces.xni.XNIException;
import org.apache.xerces.xni.grammars.Grammar;
import org.apache.xerces.xni.grammars.XMLGrammarDescription;
import org.apache.xerces.xni.grammars.XMLGrammarPool;
import org.apache.xerces.xni.grammars.XMLSchemaDescription;
import org.apache.xerces.xni.parser.XMLComponentManager;
import org.apache.xerces.xni.parser.XMLConfigurationException;
import org.apache.xerces.xni.parser.XMLEntityResolver;
import org.apache.xerces.xni.parser.XMLErrorHandler;
import org.apache.xerces.xni.parser.XMLInputSource;
import org.apache.xerces.xni.parser.XMLParseException;
import org.apache.xerces.xs.StringList;
import org.apache.xerces.xs.XSAttributeDeclaration;
import org.apache.xerces.xs.XSAttributeGroupDefinition;
import org.apache.xerces.xs.XSAttributeUse;
import org.apache.xerces.xs.XSConstants;
import org.apache.xerces.xs.XSElementDeclaration;
import org.apache.xerces.xs.XSModelGroup;
import org.apache.xerces.xs.XSModelGroupDefinition;
import org.apache.xerces.xs.XSNamedMap;
import org.apache.xerces.xs.XSObject;
import org.apache.xerces.xs.XSObjectList;
import org.apache.xerces.xs.XSParticle;
import org.apache.xerces.xs.XSSimpleTypeDefinition;
import org.apache.xerces.xs.XSTerm;
import org.apache.xerces.xs.XSTypeDefinition;
import org.apache.xerces.xs.datatypes.ObjectList;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
import org.xml.sax.XMLReader;
import org.xml.sax.helpers.XMLReaderFactory;
/**
* The purpose of this class is to co-ordinate the construction of a
* grammar object corresponding to a schema. To do this, it must be
* prepared to parse several schema documents (for instance if the
* schema document originally referred to contains <include> or
* <redefined> information items). If any of the schemas imports a
* schema, other grammars may be constructed as a side-effect.
*
* @xerces.internal
*
* @author Neil Graham, IBM
* @author Pavani Mukthipudi, Sun Microsystems
*
* @version $Id: XSDHandler.java 1027805 2010-10-27 02:55:35Z mrglavas $
*/
public class XSDHandler {
/** Feature identifier: validation. */
protected static final String VALIDATION =
Constants.SAX_FEATURE_PREFIX + Constants.VALIDATION_FEATURE;
/** feature identifier: XML Schema validation */
protected static final String XMLSCHEMA_VALIDATION =
Constants.XERCES_FEATURE_PREFIX + Constants.SCHEMA_VALIDATION_FEATURE;
/** Feature identifier: allow java encodings */
protected static final String ALLOW_JAVA_ENCODINGS =
Constants.XERCES_FEATURE_PREFIX + Constants.ALLOW_JAVA_ENCODINGS_FEATURE;
/** Feature identifier: continue after fatal error */
protected static final String CONTINUE_AFTER_FATAL_ERROR =
Constants.XERCES_FEATURE_PREFIX + Constants.CONTINUE_AFTER_FATAL_ERROR_FEATURE;
/** Feature identifier: allow java encodings */
protected static final String STANDARD_URI_CONFORMANT_FEATURE =
Constants.XERCES_FEATURE_PREFIX + Constants.STANDARD_URI_CONFORMANT_FEATURE;
/** Feature: disallow doctype*/
protected static final String DISALLOW_DOCTYPE =
Constants.XERCES_FEATURE_PREFIX + Constants.DISALLOW_DOCTYPE_DECL_FEATURE;
/** Feature: generate synthetic annotations */
protected static final String GENERATE_SYNTHETIC_ANNOTATIONS =
Constants.XERCES_FEATURE_PREFIX + Constants.GENERATE_SYNTHETIC_ANNOTATIONS_FEATURE;
/** Feature identifier: validate annotations. */
protected static final String VALIDATE_ANNOTATIONS =
Constants.XERCES_FEATURE_PREFIX + Constants.VALIDATE_ANNOTATIONS_FEATURE;
/** Feature identifier: honour all schemaLocations */
protected static final String HONOUR_ALL_SCHEMALOCATIONS =
Constants.XERCES_FEATURE_PREFIX + Constants.HONOUR_ALL_SCHEMALOCATIONS_FEATURE;
/** Feature identifier: namespace growth */
protected static final String NAMESPACE_GROWTH =
Constants.XERCES_FEATURE_PREFIX + Constants.NAMESPACE_GROWTH_FEATURE;
/** Feature identifier: tolerate duplicates */
protected static final String TOLERATE_DUPLICATES =
Constants.XERCES_FEATURE_PREFIX + Constants.TOLERATE_DUPLICATES_FEATURE;
/** Feature identifier: namespace prefixes. */
private static final String NAMESPACE_PREFIXES =
Constants.SAX_FEATURE_PREFIX + Constants.NAMESPACE_PREFIXES_FEATURE;
/*
没有合适的资源?快使用搜索试试~ 我知道了~
XML解析器 Xerces.7z
共901个文件
java:757个
xml:46个
gif:24个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 6 浏览量
2022-07-06
12:45:46
上传
评论
收藏 9.43MB 7Z 举报
温馨提示
XML解析器 Xerces.7z
资源推荐
资源详情
资源评论
收起资源包目录
XML解析器 Xerces.7z (901个子文件)
build.bat 2KB
download.cgi 240B
javax.xml.datatype.DatatypeFactory 53B
javax.xml.parsers.DocumentBuilderFactory 51B
org.apache.xerces.dom.DOMImplementationSourceImpl 49B
org.w3c.dom.DOMImplementationSourceList 51B
org.xml.sax.driver 39B
design.dtd 2KB
book.dtd 2KB
settings.dtd 1KB
personal.dtd 644B
releases.dtd 631B
document.dtd 527B
faqs.dtd 434B
org.apache.xerces.xni.parser.DTDConfiguration 44B
characters.ent 33KB
blocks.ent 1KB
links.ent 693B
markup.ent 686B
entities.ent 593B
xni-pipeline-detailed.gif 20KB
xni-entity-manager.gif 18KB
xni-components-dependence.gif 16KB
xni-components-overview.gif 14KB
xni-parser-configuration.gif 12KB
xni-pipeline-basic.gif 11KB
logo.gif 3KB
button-asf-hi.gif 1KB
button-asf-lo.gif 1KB
button-w3c-hi.gif 1KB
button-w3c-lo.gif 1KB
button-xml-hi.gif 1KB
button-xml-lo.gif 1KB
join.gif 1KB
right.gif 1KB
bottom.gif 1KB
line.gif 924B
close.gif 498B
note.gif 295B
button-a.gif 179B
button-b.gif 154B
separator.gif 110B
void.gif 49B
dot.gif 49B
package.html 9KB
LICENSE.DOM-documentation.html 5KB
LICENSE.DOM-software.html 4KB
Readme.html 2KB
LICENSE-SAX.html 436B
XSDHandler.java 198KB
XMLSchemaValidator.java 191KB
XSSimpleTypeDecl.java 141KB
XMLEntityManager.java 122KB
XIncludeHandler.java 121KB
XMLGregorianCalendarImpl.java 120KB
DTDGrammar.java 109KB
AbstractDOMParser.java 106KB
CoreDocumentImpl.java 100KB
RegularExpression.java 96KB
DOMNormalizer.java 94KB
AbstractSAXParser.java 92KB
PSVIWriter.java 90KB
XSAttributeChecker.java 88KB
XPath.java 87KB
XMLDTDValidator.java 85KB
XMLDTDScannerImpl.java 80KB
RangeImpl.java 78KB
NodeImpl.java 76KB
DeferredDocumentImpl.java 75KB
URI.java 75KB
XMLEntityScanner.java 71KB
DurationImpl.java 71KB
SchemaGrammar.java 70KB
XMLDocumentFragmentScannerImpl.java 68KB
XMLDTDProcessor.java 67KB
XSConstraints.java 65KB
BaseMarkupSerializer.java 62KB
XML11Configuration.java 62KB
XSDComplexTypeTraverser.java 61KB
XMLSerializer.java 60KB
XML11EntityScanner.java 60KB
DOMParserImpl.java 59KB
Token.java 58KB
XMLSchemaLoader.java 58KB
XMLScanner.java 58KB
DocumentImpl.java 57KB
XMLDocumentScannerImpl.java 54KB
XMLChar.java 52KB
XML11DTDConfiguration.java 50KB
DocumentTracer.java 50KB
DOMConfigurationImpl.java 49KB
DOMSerializerImpl.java 49KB
ElementImpl.java 49KB
RegexParser.java 47KB
XPointerHandler.java 47KB
XSDFACM.java 47KB
XML11NonValidatingConfiguration.java 45KB
ValidatorHandlerImpl.java 43KB
AttrImpl.java 43KB
XSDAbstractTraverser.java 41KB
共 901 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论
qq_38220914
- 粉丝: 603
- 资源: 4313
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于前端HTML+CSS+JS+Jquery+后端php+mysql实现仿照当当网的图书商城+源码(高分优秀项目)
- 基于jsp+mysql的JSP美食菜谱分享系统源码.zip
- python爬虫之DoubanSpider-master (1).zip
- 在校作业:数据清洗和数据可视化
- 基于jsp+mysql的JSP酒店预定管理系统源码.zip
- 基于jsp+mysql的JSP九宫格日记本源码.zip
- 三维点云处理算法c++源代码(含详细注释+sln解决方案)..zip
- 基于jsp+mysql的JSP会员卡积分管理系统源码.zip
- 基于jsp+mysql的JSP航班机票订票网站源码.zip
- 基于html+css+js开发的仿照携程租车模块编写的汽车租赁系统+源码+文档(高分优秀项目)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功