/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2001-2005 The Apache Software Foundation.
*
* Licensed 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
*
*
* 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.
*/
/**
* This parser configuration includes an <code>XIncludeHandler</code> in the pipeline
* before the schema validator, or as the last component in the pipeline if there is
* no schema validator. Using this pipeline will enable processing according to the
* XML Inclusions specification, to the conformance level described in
* <code>XIncludeHandler</code>.
*
* @author Peter McCracken, IBM
* @see com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler
*/
/** Feature identifier: allow notation and unparsed entity events to be sent out of order. */
/** Feature identifier: fixup base URIs. */
/** Feature identifier: fixup language. */
/** Property identifier: error reporter. */
/** Property identifier: error reporter. */
/** Default constructor. */
public XIncludeParserConfiguration() {
} // <init>()
/**
* Constructs a parser configuration using the specified symbol table.
*
* @param symbolTable The symbol table to use.
*/
} // <init>(SymbolTable)
/**
* Constructs a parser configuration using the specified symbol table and
* grammar pool.
* <p>
*
* @param symbolTable The symbol table to use.
* @param grammarPool The grammar pool to use.
*/
public XIncludeParserConfiguration(
} // <init>(SymbolTable,XMLGrammarPool)
/**
* 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(
fXIncludeHandler = new XIncludeHandler();
final String[] recognizedFeatures = {
};
// add default recognized properties
final String[] recognizedProperties =
setFeature(XINCLUDE_FIXUP_BASE_URIS, true);
setFeature(XINCLUDE_FIXUP_LANGUAGE, true);
} // <init>(SymbolTable,XMLGrammarPool)}
/** Configures the pipeline. */
protected void configurePipeline() {
super.configurePipeline();
//configure DTD pipeline
if (fDTDHandler != null) {
}
// configure XML document pipeline: insert after DTDValidator and
// before XML Schema validator
// we don't have to worry about fSchemaValidator being null, since
// super.configurePipeline() instantiated it if the feature was set
}
// Otherwise, insert after the last component in the pipeline
else {
}
}
}
else {
}
} // configurePipeline()
protected void configureXML11Pipeline() {
super.configureXML11Pipeline();
// configure XML 1.1. DTD pipeline
if (fDTDHandler != null) {
}
// configure XML document pipeline: insert after DTDValidator and
// before XML Schema validator
// we don't have to worry about fSchemaValidator being null, since
// super.configurePipeline() instantiated it if the feature was set
}
// Otherwise, insert after the last component in the pipeline
else {
}
}
} // configureXML11Pipeline()
throws XMLConfigurationException {
}
} // setProperty(String,Object)
}