Java Code Examples for com.sun.org.apache.xerces.internal.xni.parser.XMLParserConfiguration#addRecognizedProperties()

The following examples show how to use com.sun.org.apache.xerces.internal.xni.parser.XMLParserConfiguration#addRecognizedProperties() . 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: AbstractSAXParser.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
/** Default constructor. */
protected AbstractSAXParser(XMLParserConfiguration config) {
    super(config);

    config.addRecognizedFeatures(RECOGNIZED_FEATURES);
    config.addRecognizedProperties(RECOGNIZED_PROPERTIES);

    try {
        config.setFeature(ALLOW_UE_AND_NOTATION_EVENTS, false);
    }
    catch (XMLConfigurationException e) {
        // it wasn't a recognized feature, so we don't worry about it
    }
}
 
Example 2
Source File: AbstractSAXParser.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/** Default constructor. */
protected AbstractSAXParser(XMLParserConfiguration config) {
    super(config);

    config.addRecognizedFeatures(RECOGNIZED_FEATURES);
    config.addRecognizedProperties(RECOGNIZED_PROPERTIES);

    try {
        config.setFeature(ALLOW_UE_AND_NOTATION_EVENTS, false);
    }
    catch (XMLConfigurationException e) {
        // it wasn't a recognized feature, so we don't worry about it
    }
}
 
Example 3
Source File: AbstractSAXParser.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/** Default constructor. */
protected AbstractSAXParser(XMLParserConfiguration config) {
    super(config);

    config.addRecognizedFeatures(RECOGNIZED_FEATURES);
    config.addRecognizedProperties(RECOGNIZED_PROPERTIES);

    try {
        config.setFeature(ALLOW_UE_AND_NOTATION_EVENTS, false);
    }
    catch (XMLConfigurationException e) {
        // it wasn't a recognized feature, so we don't worry about it
    }
}
 
Example 4
Source File: AbstractSAXParser.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/** Default constructor. */
protected AbstractSAXParser(XMLParserConfiguration config) {
    super(config);

    config.addRecognizedFeatures(RECOGNIZED_FEATURES);
    config.addRecognizedProperties(RECOGNIZED_PROPERTIES);

    try {
        config.setFeature(ALLOW_UE_AND_NOTATION_EVENTS, false);
    }
    catch (XMLConfigurationException e) {
        // it wasn't a recognized feature, so we don't worry about it
    }
}
 
Example 5
Source File: AbstractSAXParser.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/** Default constructor. */
protected AbstractSAXParser(XMLParserConfiguration config) {
    super(config);

    config.addRecognizedFeatures(RECOGNIZED_FEATURES);
    config.addRecognizedProperties(RECOGNIZED_PROPERTIES);

    try {
        config.setFeature(ALLOW_UE_AND_NOTATION_EVENTS, false);
    }
    catch (XMLConfigurationException e) {
        // it wasn't a recognized feature, so we don't worry about it
    }
}
 
Example 6
Source File: AbstractSAXParser.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/** Default constructor. */
protected AbstractSAXParser(XMLParserConfiguration config) {
    super(config);

    config.addRecognizedFeatures(RECOGNIZED_FEATURES);
    config.addRecognizedProperties(RECOGNIZED_PROPERTIES);

    try {
        config.setFeature(ALLOW_UE_AND_NOTATION_EVENTS, false);
    }
    catch (XMLConfigurationException e) {
        // it wasn't a recognized feature, so we don't worry about it
    }
}
 
Example 7
Source File: AbstractSAXParser.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
/** Default constructor. */
protected AbstractSAXParser(XMLParserConfiguration config) {
    super(config);

    config.addRecognizedFeatures(RECOGNIZED_FEATURES);
    config.addRecognizedProperties(RECOGNIZED_PROPERTIES);

    try {
        config.setFeature(ALLOW_UE_AND_NOTATION_EVENTS, false);
    }
    catch (XMLConfigurationException e) {
        // it wasn't a recognized feature, so we don't worry about it
    }
}
 
Example 8
Source File: AbstractSAXParser.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/** Default constructor. */
protected AbstractSAXParser(XMLParserConfiguration config) {
    super(config);

    config.addRecognizedFeatures(RECOGNIZED_FEATURES);
    config.addRecognizedProperties(RECOGNIZED_PROPERTIES);

    try {
        config.setFeature(ALLOW_UE_AND_NOTATION_EVENTS, false);
    }
    catch (XMLConfigurationException e) {
        // it wasn't a recognized feature, so we don't worry about it
    }
}
 
Example 9
Source File: AbstractSAXParser.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/** Default constructor. */
protected AbstractSAXParser(XMLParserConfiguration config) {
    super(config);

    config.addRecognizedFeatures(RECOGNIZED_FEATURES);
    config.addRecognizedProperties(RECOGNIZED_PROPERTIES);

    try {
        config.setFeature(ALLOW_UE_AND_NOTATION_EVENTS, false);
    }
    catch (XMLConfigurationException e) {
        // it wasn't a recognized feature, so we don't worry about it
    }
}
 
Example 10
Source File: AbstractSAXParser.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/** Default constructor. */
protected AbstractSAXParser(XMLParserConfiguration config) {
    super(config);

    config.addRecognizedFeatures(RECOGNIZED_FEATURES);
    config.addRecognizedProperties(RECOGNIZED_PROPERTIES);

    try {
        config.setFeature(ALLOW_UE_AND_NOTATION_EVENTS, false);
    }
    catch (XMLConfigurationException e) {
        // it wasn't a recognized feature, so we don't worry about it
    }
}
 
Example 11
Source File: AbstractSAXParser.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/** Default constructor. */
protected AbstractSAXParser(XMLParserConfiguration config) {
    super(config);

    config.addRecognizedFeatures(RECOGNIZED_FEATURES);
    config.addRecognizedProperties(RECOGNIZED_PROPERTIES);

    try {
        config.setFeature(ALLOW_UE_AND_NOTATION_EVENTS, false);
    }
    catch (XMLConfigurationException e) {
        // it wasn't a recognized feature, so we don't worry about it
    }
}