com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler Java Examples
The following examples show how to use
com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: XIncludeParserConfiguration.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XIncludeParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #2
Source File: XIncludeParserConfiguration.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XIncludeParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #3
Source File: XPointerParserConfiguration.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XPointerParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); fXPointerHandler = new XPointerHandler(); addCommonComponent(fXPointerHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, XPOINTER_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(XPOINTER_HANDLER, fXPointerHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #4
Source File: XIncludeParserConfiguration.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XIncludeParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #5
Source File: XPointerParserConfiguration.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XPointerParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); fXPointerHandler = new XPointerHandler(); addCommonComponent(fXPointerHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, XPOINTER_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(XPOINTER_HANDLER, fXPointerHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #6
Source File: XIncludeParserConfiguration.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XIncludeParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #7
Source File: XPointerParserConfiguration.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XPointerParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); fXPointerHandler = new XPointerHandler(); addCommonComponent(fXPointerHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, XPOINTER_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(XPOINTER_HANDLER, fXPointerHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #8
Source File: XIncludeParserConfiguration.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XIncludeParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #9
Source File: XPointerParserConfiguration.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XPointerParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); fXPointerHandler = new XPointerHandler(); addCommonComponent(fXPointerHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, XPOINTER_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(XPOINTER_HANDLER, fXPointerHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #10
Source File: XIncludeParserConfiguration.java From Bytecoder with Apache License 2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XIncludeParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #11
Source File: XPointerParserConfiguration.java From Bytecoder with Apache License 2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XPointerParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); fXPointerHandler = new XPointerHandler(); addCommonComponent(fXPointerHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, XPOINTER_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(XPOINTER_HANDLER, fXPointerHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #12
Source File: XPointerParserConfiguration.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XPointerParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); fXPointerHandler = new XPointerHandler(); addCommonComponent(fXPointerHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, XPOINTER_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(XPOINTER_HANDLER, fXPointerHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #13
Source File: XPointerParserConfiguration.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XPointerParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); fXPointerHandler = new XPointerHandler(); addCommonComponent(fXPointerHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, XPOINTER_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(XPOINTER_HANDLER, fXPointerHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #14
Source File: XIncludeParserConfiguration.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XIncludeParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #15
Source File: XPointerParserConfiguration.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XPointerParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); fXPointerHandler = new XPointerHandler(); addCommonComponent(fXPointerHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, XPOINTER_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(XPOINTER_HANDLER, fXPointerHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #16
Source File: XIncludeParserConfiguration.java From JDKSourceCode1.8 with MIT License | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XIncludeParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #17
Source File: XPointerParserConfiguration.java From JDKSourceCode1.8 with MIT License | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XPointerParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); fXPointerHandler = new XPointerHandler(); addCommonComponent(fXPointerHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, XPOINTER_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(XPOINTER_HANDLER, fXPointerHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #18
Source File: XIncludeParserConfiguration.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XIncludeParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #19
Source File: XPointerParserConfiguration.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XPointerParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); fXPointerHandler = new XPointerHandler(); addCommonComponent(fXPointerHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, XPOINTER_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(XPOINTER_HANDLER, fXPointerHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #20
Source File: XIncludeParserConfiguration.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XIncludeParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #21
Source File: XPointerParserConfiguration.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XPointerParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); fXPointerHandler = new XPointerHandler(); addCommonComponent(fXPointerHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, XPOINTER_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(XPOINTER_HANDLER, fXPointerHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }
Example #22
Source File: XIncludeParserConfiguration.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
/** * Constructs a parser configuration using the specified symbol table, * grammar pool, and parent settings. * <p> * * @param symbolTable The symbol table to use. * @param grammarPool The grammar pool to use. * @param parentSettings The parent settings. */ public XIncludeParserConfiguration( SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings) { super(symbolTable, grammarPool, parentSettings); fXIncludeHandler = new XIncludeHandler(); addCommonComponent(fXIncludeHandler); final String[] recognizedFeatures = { ALLOW_UE_AND_NOTATION_EVENTS, XINCLUDE_FIXUP_BASE_URIS, XINCLUDE_FIXUP_LANGUAGE }; addRecognizedFeatures(recognizedFeatures); // add default recognized properties final String[] recognizedProperties = { XINCLUDE_HANDLER, NAMESPACE_CONTEXT }; addRecognizedProperties(recognizedProperties); setFeature(ALLOW_UE_AND_NOTATION_EVENTS, true); setFeature(XINCLUDE_FIXUP_BASE_URIS, true); setFeature(XINCLUDE_FIXUP_LANGUAGE, true); setProperty(XINCLUDE_HANDLER, fXIncludeHandler); setProperty(NAMESPACE_CONTEXT, new XIncludeNamespaceSupport()); }