org.w3c.dom.DOMStringList Java Examples

The following examples show how to use org.w3c.dom.DOMStringList. 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: DOMConfigurationImpl.java    From j2objc with Apache License 2.0 5 votes vote down vote up
public DOMStringList getParameterNames() {
    final String[] result = PARAMETERS.keySet().toArray(new String[PARAMETERS.size()]);
    return new DOMStringList() {
        public String item(int index) {
            return index < result.length ? result[index] : null;
        }
        public int getLength() {
            return result.length;
        }
        public boolean contains(String str) {
            return PARAMETERS.containsKey(str); // case-insensitive.
        }
    };
}
 
Example #2
Source File: XSLoaderImpl.java    From Bytecoder with Apache License 2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example #3
Source File: XSLoaderImpl.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example #4
Source File: DOMConfigurationImpl.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 *  DOM Level 3 CR - Experimental.
 *
 *  The list of the parameters supported by this
 * <code>DOMConfiguration</code> object and for which at least one value
 * can be set by the application. Note that this list can also contain
 * parameter names defined outside this specification.
 */
public DOMStringList getParameterNames() {
    if (fRecognizedParameters == null){
                    Vector parameters = new Vector();

                    //Add DOM recognized parameters
                    //REVISIT: Would have been nice to have a list of
                    //recognized paramters.
                    parameters.add(Constants.DOM_COMMENTS);
                    parameters.add(Constants.DOM_DATATYPE_NORMALIZATION);
                    parameters.add(Constants.DOM_CDATA_SECTIONS);
                    parameters.add(Constants.DOM_ENTITIES);
                    parameters.add(Constants.DOM_SPLIT_CDATA);
                    parameters.add(Constants.DOM_NAMESPACES);
                    parameters.add(Constants.DOM_VALIDATE);

                    parameters.add(Constants.DOM_INFOSET);
                    parameters.add(Constants.DOM_NORMALIZE_CHARACTERS);
                    parameters.add(Constants.DOM_CANONICAL_FORM);
                    parameters.add(Constants.DOM_VALIDATE_IF_SCHEMA);
                    parameters.add(Constants.DOM_CHECK_CHAR_NORMALIZATION);
                    parameters.add(Constants.DOM_WELLFORMED);

                    parameters.add(Constants.DOM_NAMESPACE_DECLARATIONS);
                    parameters.add(Constants.DOM_ELEMENT_CONTENT_WHITESPACE);

                    parameters.add(Constants.DOM_ERROR_HANDLER);
                    parameters.add(Constants.DOM_SCHEMA_TYPE);
                    parameters.add(Constants.DOM_SCHEMA_LOCATION);
                    parameters.add(Constants.DOM_RESOURCE_RESOLVER);

                    //Add recognized xerces features and properties
                    parameters.add(GRAMMAR_POOL);
                    parameters.add(SYMBOL_TABLE);
                    parameters.add(SEND_PSVI);

                    fRecognizedParameters = new DOMStringListImpl(parameters);

    }

    return fRecognizedParameters;
}
 
Example #5
Source File: XSLoaderImpl.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example #6
Source File: DOMConfigurationImpl.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
/**
 *  DOM Level 3 CR - Experimental.
 *
 *  The list of the parameters supported by this
 * <code>DOMConfiguration</code> object and for which at least one value
 * can be set by the application. Note that this list can also contain
 * parameter names defined outside this specification.
 */
public DOMStringList getParameterNames() {
    if (fRecognizedParameters == null){
                    Vector parameters = new Vector();

                    //Add DOM recognized parameters
                    //REVISIT: Would have been nice to have a list of
                    //recognized paramters.
                    parameters.add(Constants.DOM_COMMENTS);
                    parameters.add(Constants.DOM_DATATYPE_NORMALIZATION);
                    parameters.add(Constants.DOM_CDATA_SECTIONS);
                    parameters.add(Constants.DOM_ENTITIES);
                    parameters.add(Constants.DOM_SPLIT_CDATA);
                    parameters.add(Constants.DOM_NAMESPACES);
                    parameters.add(Constants.DOM_VALIDATE);

                    parameters.add(Constants.DOM_INFOSET);
                    parameters.add(Constants.DOM_NORMALIZE_CHARACTERS);
                    parameters.add(Constants.DOM_CANONICAL_FORM);
                    parameters.add(Constants.DOM_VALIDATE_IF_SCHEMA);
                    parameters.add(Constants.DOM_CHECK_CHAR_NORMALIZATION);
                    parameters.add(Constants.DOM_WELLFORMED);

                    parameters.add(Constants.DOM_NAMESPACE_DECLARATIONS);
                    parameters.add(Constants.DOM_ELEMENT_CONTENT_WHITESPACE);

                    parameters.add(Constants.DOM_ERROR_HANDLER);
                    parameters.add(Constants.DOM_SCHEMA_TYPE);
                    parameters.add(Constants.DOM_SCHEMA_LOCATION);
                    parameters.add(Constants.DOM_RESOURCE_RESOLVER);

                    //Add recognized xerces features and properties
                    parameters.add(GRAMMAR_POOL);
                    parameters.add(SYMBOL_TABLE);
                    parameters.add(SEND_PSVI);

                    fRecognizedParameters = new DOMStringListImpl(parameters);

    }

    return fRecognizedParameters;
}
 
Example #7
Source File: XSLoaderImpl.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example #8
Source File: DOMConfigurationImpl.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
/**
 *  DOM Level 3 CR - Experimental.
 *
 *  The list of the parameters supported by this
 * <code>DOMConfiguration</code> object and for which at least one value
 * can be set by the application. Note that this list can also contain
 * parameter names defined outside this specification.
 */
public DOMStringList getParameterNames() {
    if (fRecognizedParameters == null){
                    Vector parameters = new Vector();

                    //Add DOM recognized parameters
                    //REVISIT: Would have been nice to have a list of
                    //recognized paramters.
                    parameters.add(Constants.DOM_COMMENTS);
                    parameters.add(Constants.DOM_DATATYPE_NORMALIZATION);
                    parameters.add(Constants.DOM_CDATA_SECTIONS);
                    parameters.add(Constants.DOM_ENTITIES);
                    parameters.add(Constants.DOM_SPLIT_CDATA);
                    parameters.add(Constants.DOM_NAMESPACES);
                    parameters.add(Constants.DOM_VALIDATE);

                    parameters.add(Constants.DOM_INFOSET);
                    parameters.add(Constants.DOM_NORMALIZE_CHARACTERS);
                    parameters.add(Constants.DOM_CANONICAL_FORM);
                    parameters.add(Constants.DOM_VALIDATE_IF_SCHEMA);
                    parameters.add(Constants.DOM_CHECK_CHAR_NORMALIZATION);
                    parameters.add(Constants.DOM_WELLFORMED);

                    parameters.add(Constants.DOM_NAMESPACE_DECLARATIONS);
                    parameters.add(Constants.DOM_ELEMENT_CONTENT_WHITESPACE);

                    parameters.add(Constants.DOM_ERROR_HANDLER);
                    parameters.add(Constants.DOM_SCHEMA_TYPE);
                    parameters.add(Constants.DOM_SCHEMA_LOCATION);
                    parameters.add(Constants.DOM_RESOURCE_RESOLVER);

                    //Add recognized xerces features and properties
                    parameters.add(GRAMMAR_POOL);
                    parameters.add(SYMBOL_TABLE);
                    parameters.add(SEND_PSVI);

                    fRecognizedParameters = new DOMStringListImpl(parameters);

    }

    return fRecognizedParameters;
}
 
Example #9
Source File: XSLoaderImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example #10
Source File: DOMConfigurationImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
/**
 *  DOM Level 3 CR - Experimental.
 *
 *  The list of the parameters supported by this
 * <code>DOMConfiguration</code> object and for which at least one value
 * can be set by the application. Note that this list can also contain
 * parameter names defined outside this specification.
 */
public DOMStringList getParameterNames() {
    if (fRecognizedParameters == null){
        ArrayList parameters = new ArrayList();

        //Add DOM recognized parameters
        //REVISIT: Would have been nice to have a list of
        //recognized paramters.
        parameters.add(Constants.DOM_COMMENTS);
        parameters.add(Constants.DOM_DATATYPE_NORMALIZATION);
        parameters.add(Constants.DOM_CDATA_SECTIONS);
        parameters.add(Constants.DOM_ENTITIES);
        parameters.add(Constants.DOM_SPLIT_CDATA);
        parameters.add(Constants.DOM_NAMESPACES);
        parameters.add(Constants.DOM_VALIDATE);

        parameters.add(Constants.DOM_INFOSET);
        parameters.add(Constants.DOM_NORMALIZE_CHARACTERS);
        parameters.add(Constants.DOM_CANONICAL_FORM);
        parameters.add(Constants.DOM_VALIDATE_IF_SCHEMA);
        parameters.add(Constants.DOM_CHECK_CHAR_NORMALIZATION);
        parameters.add(Constants.DOM_WELLFORMED);

        parameters.add(Constants.DOM_NAMESPACE_DECLARATIONS);
        parameters.add(Constants.DOM_ELEMENT_CONTENT_WHITESPACE);

        parameters.add(Constants.DOM_ERROR_HANDLER);
        parameters.add(Constants.DOM_SCHEMA_TYPE);
        parameters.add(Constants.DOM_SCHEMA_LOCATION);
        parameters.add(Constants.DOM_RESOURCE_RESOLVER);

        //Add recognized xerces features and properties
        parameters.add(GRAMMAR_POOL);
        parameters.add(SYMBOL_TABLE);
        parameters.add(SEND_PSVI);

        fRecognizedParameters = new DOMStringListImpl(parameters);
    }

    return fRecognizedParameters;
}
 
Example #11
Source File: DOMConfigurationImpl.java    From jdk1.8-source-analysis with Apache License 2.0 4 votes vote down vote up
/**
 *  DOM Level 3 CR - Experimental.
 *
 *  The list of the parameters supported by this
 * <code>DOMConfiguration</code> object and for which at least one value
 * can be set by the application. Note that this list can also contain
 * parameter names defined outside this specification.
 */
public DOMStringList getParameterNames() {
    if (fRecognizedParameters == null){
                    Vector parameters = new Vector();

                    //Add DOM recognized parameters
                    //REVISIT: Would have been nice to have a list of
                    //recognized paramters.
                    parameters.add(Constants.DOM_COMMENTS);
                    parameters.add(Constants.DOM_DATATYPE_NORMALIZATION);
                    parameters.add(Constants.DOM_CDATA_SECTIONS);
                    parameters.add(Constants.DOM_ENTITIES);
                    parameters.add(Constants.DOM_SPLIT_CDATA);
                    parameters.add(Constants.DOM_NAMESPACES);
                    parameters.add(Constants.DOM_VALIDATE);

                    parameters.add(Constants.DOM_INFOSET);
                    parameters.add(Constants.DOM_NORMALIZE_CHARACTERS);
                    parameters.add(Constants.DOM_CANONICAL_FORM);
                    parameters.add(Constants.DOM_VALIDATE_IF_SCHEMA);
                    parameters.add(Constants.DOM_CHECK_CHAR_NORMALIZATION);
                    parameters.add(Constants.DOM_WELLFORMED);

                    parameters.add(Constants.DOM_NAMESPACE_DECLARATIONS);
                    parameters.add(Constants.DOM_ELEMENT_CONTENT_WHITESPACE);

                    parameters.add(Constants.DOM_ERROR_HANDLER);
                    parameters.add(Constants.DOM_SCHEMA_TYPE);
                    parameters.add(Constants.DOM_SCHEMA_LOCATION);
                    parameters.add(Constants.DOM_RESOURCE_RESOLVER);

                    //Add recognized xerces features and properties
                    parameters.add(GRAMMAR_POOL);
                    parameters.add(SYMBOL_TABLE);
                    parameters.add(SEND_PSVI);

                    fRecognizedParameters = new DOMStringListImpl(parameters);

    }

    return fRecognizedParameters;
}
 
Example #12
Source File: DOMConfigurationImpl.java    From Bytecoder with Apache License 2.0 4 votes vote down vote up
/**
*  DOM Level 3 CR - Experimental.
*
*  The list of the parameters supported by this
* <code>DOMConfiguration</code> object and for which at least one value
* can be set by the application. Note that this list can also contain
* parameter names defined outside this specification.
*/
   public DOMStringList getParameterNames() {
       if (fRecognizedParameters == null){
       List<String> parameters = new ArrayList<>();

           //Add DOM recognized parameters
           //REVISIT: Would have been nice to have a list of
           //recognized paramters.
           parameters.add(Constants.DOM_COMMENTS);
           parameters.add(Constants.DOM_DATATYPE_NORMALIZATION);
           parameters.add(Constants.DOM_CDATA_SECTIONS);
           parameters.add(Constants.DOM_ENTITIES);
           parameters.add(Constants.DOM_SPLIT_CDATA);
           parameters.add(Constants.DOM_NAMESPACES);
           parameters.add(Constants.DOM_VALIDATE);

           parameters.add(Constants.DOM_INFOSET);
           parameters.add(Constants.DOM_NORMALIZE_CHARACTERS);
           parameters.add(Constants.DOM_CANONICAL_FORM);
           parameters.add(Constants.DOM_VALIDATE_IF_SCHEMA);
           parameters.add(Constants.DOM_CHECK_CHAR_NORMALIZATION);
           parameters.add(Constants.DOM_WELLFORMED);

           parameters.add(Constants.DOM_NAMESPACE_DECLARATIONS);
           parameters.add(Constants.DOM_ELEMENT_CONTENT_WHITESPACE);

           parameters.add(Constants.DOM_ERROR_HANDLER);
           parameters.add(Constants.DOM_SCHEMA_TYPE);
           parameters.add(Constants.DOM_SCHEMA_LOCATION);
           parameters.add(Constants.DOM_RESOURCE_RESOLVER);

           //Add recognized xerces features and properties
           parameters.add(ENTITY_RESOLVER);
           parameters.add(GRAMMAR_POOL);
           parameters.add(SECURITY_MANAGER);
           parameters.add(SYMBOL_TABLE);
           parameters.add(SEND_PSVI);

           fRecognizedParameters = new DOMStringListImpl(parameters);

       }

       return fRecognizedParameters;
   }
 
Example #13
Source File: XSLoaderImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example #14
Source File: DOMConfigurationImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
/**
 *  DOM Level 3 CR - Experimental.
 *
 *  The list of the parameters supported by this
 * <code>DOMConfiguration</code> object and for which at least one value
 * can be set by the application. Note that this list can also contain
 * parameter names defined outside this specification.
 */
public DOMStringList getParameterNames() {
    if (fRecognizedParameters == null){
                    Vector parameters = new Vector();

                    //Add DOM recognized parameters
                    //REVISIT: Would have been nice to have a list of
                    //recognized paramters.
                    parameters.add(Constants.DOM_COMMENTS);
                    parameters.add(Constants.DOM_DATATYPE_NORMALIZATION);
                    parameters.add(Constants.DOM_CDATA_SECTIONS);
                    parameters.add(Constants.DOM_ENTITIES);
                    parameters.add(Constants.DOM_SPLIT_CDATA);
                    parameters.add(Constants.DOM_NAMESPACES);
                    parameters.add(Constants.DOM_VALIDATE);

                    parameters.add(Constants.DOM_INFOSET);
                    parameters.add(Constants.DOM_NORMALIZE_CHARACTERS);
                    parameters.add(Constants.DOM_CANONICAL_FORM);
                    parameters.add(Constants.DOM_VALIDATE_IF_SCHEMA);
                    parameters.add(Constants.DOM_CHECK_CHAR_NORMALIZATION);
                    parameters.add(Constants.DOM_WELLFORMED);

                    parameters.add(Constants.DOM_NAMESPACE_DECLARATIONS);
                    parameters.add(Constants.DOM_ELEMENT_CONTENT_WHITESPACE);

                    parameters.add(Constants.DOM_ERROR_HANDLER);
                    parameters.add(Constants.DOM_SCHEMA_TYPE);
                    parameters.add(Constants.DOM_SCHEMA_LOCATION);
                    parameters.add(Constants.DOM_RESOURCE_RESOLVER);

                    //Add recognized xerces features and properties
                    parameters.add(GRAMMAR_POOL);
                    parameters.add(SYMBOL_TABLE);
                    parameters.add(SEND_PSVI);

                    fRecognizedParameters = new DOMStringListImpl(parameters);

    }

    return fRecognizedParameters;
}
 
Example #15
Source File: XSLoaderImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example #16
Source File: DOMConfigurationImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
/**
 *  DOM Level 3 CR - Experimental.
 *
 *  The list of the parameters supported by this
 * <code>DOMConfiguration</code> object and for which at least one value
 * can be set by the application. Note that this list can also contain
 * parameter names defined outside this specification.
 */
public DOMStringList getParameterNames() {
    if (fRecognizedParameters == null){
                    Vector parameters = new Vector();

                    //Add DOM recognized parameters
                    //REVISIT: Would have been nice to have a list of
                    //recognized paramters.
                    parameters.add(Constants.DOM_COMMENTS);
                    parameters.add(Constants.DOM_DATATYPE_NORMALIZATION);
                    parameters.add(Constants.DOM_CDATA_SECTIONS);
                    parameters.add(Constants.DOM_ENTITIES);
                    parameters.add(Constants.DOM_SPLIT_CDATA);
                    parameters.add(Constants.DOM_NAMESPACES);
                    parameters.add(Constants.DOM_VALIDATE);

                    parameters.add(Constants.DOM_INFOSET);
                    parameters.add(Constants.DOM_NORMALIZE_CHARACTERS);
                    parameters.add(Constants.DOM_CANONICAL_FORM);
                    parameters.add(Constants.DOM_VALIDATE_IF_SCHEMA);
                    parameters.add(Constants.DOM_CHECK_CHAR_NORMALIZATION);
                    parameters.add(Constants.DOM_WELLFORMED);

                    parameters.add(Constants.DOM_NAMESPACE_DECLARATIONS);
                    parameters.add(Constants.DOM_ELEMENT_CONTENT_WHITESPACE);

                    parameters.add(Constants.DOM_ERROR_HANDLER);
                    parameters.add(Constants.DOM_SCHEMA_TYPE);
                    parameters.add(Constants.DOM_SCHEMA_LOCATION);
                    parameters.add(Constants.DOM_RESOURCE_RESOLVER);

                    //Add recognized xerces features and properties
                    parameters.add(GRAMMAR_POOL);
                    parameters.add(SYMBOL_TABLE);
                    parameters.add(SEND_PSVI);

                    fRecognizedParameters = new DOMStringListImpl(parameters);

    }

    return fRecognizedParameters;
}
 
Example #17
Source File: XSLoaderImpl.java    From JDKSourceCode1.8 with MIT License 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example #18
Source File: DOMConfigurationImpl.java    From JDKSourceCode1.8 with MIT License 4 votes vote down vote up
/**
 *  DOM Level 3 CR - Experimental.
 *
 *  The list of the parameters supported by this
 * <code>DOMConfiguration</code> object and for which at least one value
 * can be set by the application. Note that this list can also contain
 * parameter names defined outside this specification.
 */
public DOMStringList getParameterNames() {
    if (fRecognizedParameters == null){
                    Vector parameters = new Vector();

                    //Add DOM recognized parameters
                    //REVISIT: Would have been nice to have a list of
                    //recognized paramters.
                    parameters.add(Constants.DOM_COMMENTS);
                    parameters.add(Constants.DOM_DATATYPE_NORMALIZATION);
                    parameters.add(Constants.DOM_CDATA_SECTIONS);
                    parameters.add(Constants.DOM_ENTITIES);
                    parameters.add(Constants.DOM_SPLIT_CDATA);
                    parameters.add(Constants.DOM_NAMESPACES);
                    parameters.add(Constants.DOM_VALIDATE);

                    parameters.add(Constants.DOM_INFOSET);
                    parameters.add(Constants.DOM_NORMALIZE_CHARACTERS);
                    parameters.add(Constants.DOM_CANONICAL_FORM);
                    parameters.add(Constants.DOM_VALIDATE_IF_SCHEMA);
                    parameters.add(Constants.DOM_CHECK_CHAR_NORMALIZATION);
                    parameters.add(Constants.DOM_WELLFORMED);

                    parameters.add(Constants.DOM_NAMESPACE_DECLARATIONS);
                    parameters.add(Constants.DOM_ELEMENT_CONTENT_WHITESPACE);

                    parameters.add(Constants.DOM_ERROR_HANDLER);
                    parameters.add(Constants.DOM_SCHEMA_TYPE);
                    parameters.add(Constants.DOM_SCHEMA_LOCATION);
                    parameters.add(Constants.DOM_RESOURCE_RESOLVER);

                    //Add recognized xerces features and properties
                    parameters.add(GRAMMAR_POOL);
                    parameters.add(SYMBOL_TABLE);
                    parameters.add(SEND_PSVI);

                    fRecognizedParameters = new DOMStringListImpl(parameters);

    }

    return fRecognizedParameters;
}
 
Example #19
Source File: XSLoaderImpl.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example #20
Source File: DOMConfigurationImpl.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
/**
 *  DOM Level 3 CR - Experimental.
 *
 *  The list of the parameters supported by this
 * <code>DOMConfiguration</code> object and for which at least one value
 * can be set by the application. Note that this list can also contain
 * parameter names defined outside this specification.
 */
public DOMStringList getParameterNames() {
    if (fRecognizedParameters == null){
                    Vector parameters = new Vector();

                    //Add DOM recognized parameters
                    //REVISIT: Would have been nice to have a list of
                    //recognized paramters.
                    parameters.add(Constants.DOM_COMMENTS);
                    parameters.add(Constants.DOM_DATATYPE_NORMALIZATION);
                    parameters.add(Constants.DOM_CDATA_SECTIONS);
                    parameters.add(Constants.DOM_ENTITIES);
                    parameters.add(Constants.DOM_SPLIT_CDATA);
                    parameters.add(Constants.DOM_NAMESPACES);
                    parameters.add(Constants.DOM_VALIDATE);

                    parameters.add(Constants.DOM_INFOSET);
                    parameters.add(Constants.DOM_NORMALIZE_CHARACTERS);
                    parameters.add(Constants.DOM_CANONICAL_FORM);
                    parameters.add(Constants.DOM_VALIDATE_IF_SCHEMA);
                    parameters.add(Constants.DOM_CHECK_CHAR_NORMALIZATION);
                    parameters.add(Constants.DOM_WELLFORMED);

                    parameters.add(Constants.DOM_NAMESPACE_DECLARATIONS);
                    parameters.add(Constants.DOM_ELEMENT_CONTENT_WHITESPACE);

                    parameters.add(Constants.DOM_ERROR_HANDLER);
                    parameters.add(Constants.DOM_SCHEMA_TYPE);
                    parameters.add(Constants.DOM_SCHEMA_LOCATION);
                    parameters.add(Constants.DOM_RESOURCE_RESOLVER);

                    //Add recognized xerces features and properties
                    parameters.add(GRAMMAR_POOL);
                    parameters.add(SYMBOL_TABLE);
                    parameters.add(SEND_PSVI);

                    fRecognizedParameters = new DOMStringListImpl(parameters);

    }

    return fRecognizedParameters;
}
 
Example #21
Source File: XSLoaderImpl.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example #22
Source File: DOMConfigurationImpl.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 *  DOM Level 3 CR - Experimental.
 *
 *  The list of the parameters supported by this
 * <code>DOMConfiguration</code> object and for which at least one value
 * can be set by the application. Note that this list can also contain
 * parameter names defined outside this specification.
 */
public DOMStringList getParameterNames() {
    if (fRecognizedParameters == null){
                    Vector parameters = new Vector();

                    //Add DOM recognized parameters
                    //REVISIT: Would have been nice to have a list of
                    //recognized paramters.
                    parameters.add(Constants.DOM_COMMENTS);
                    parameters.add(Constants.DOM_DATATYPE_NORMALIZATION);
                    parameters.add(Constants.DOM_CDATA_SECTIONS);
                    parameters.add(Constants.DOM_ENTITIES);
                    parameters.add(Constants.DOM_SPLIT_CDATA);
                    parameters.add(Constants.DOM_NAMESPACES);
                    parameters.add(Constants.DOM_VALIDATE);

                    parameters.add(Constants.DOM_INFOSET);
                    parameters.add(Constants.DOM_NORMALIZE_CHARACTERS);
                    parameters.add(Constants.DOM_CANONICAL_FORM);
                    parameters.add(Constants.DOM_VALIDATE_IF_SCHEMA);
                    parameters.add(Constants.DOM_CHECK_CHAR_NORMALIZATION);
                    parameters.add(Constants.DOM_WELLFORMED);

                    parameters.add(Constants.DOM_NAMESPACE_DECLARATIONS);
                    parameters.add(Constants.DOM_ELEMENT_CONTENT_WHITESPACE);

                    parameters.add(Constants.DOM_ERROR_HANDLER);
                    parameters.add(Constants.DOM_SCHEMA_TYPE);
                    parameters.add(Constants.DOM_SCHEMA_LOCATION);
                    parameters.add(Constants.DOM_RESOURCE_RESOLVER);

                    //Add recognized xerces features and properties
                    parameters.add(GRAMMAR_POOL);
                    parameters.add(SYMBOL_TABLE);
                    parameters.add(SEND_PSVI);

                    fRecognizedParameters = new DOMStringListImpl(parameters);

    }

    return fRecognizedParameters;
}
 
Example #23
Source File: XSLoaderImpl.java    From jdk1.8-source-analysis with Apache License 2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example #24
Source File: LSSerializerImpl.java    From Bytecoder with Apache License 2.0 2 votes vote down vote up
/**
 * This method returns a of the parameters supported by this DOMConfiguration object
 * and for which at least one value can be set by the application
 *
 * @see org.w3c.dom.DOMConfiguration#getParameterNames()
 *
 * @return DOMStringList A list of DOMConfiguration parameters recognized
 *                       by the serializer
 */
public DOMStringList getParameterNames() {
    return new DOMStringListImpl(fRecognizedParameters);
}
 
Example #25
Source File: LSSerializerImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * This method returns a of the parameters supported by this DOMConfiguration object
 * and for which at least one value can be set by the application
 *
 * @see org.w3c.dom.DOMConfiguration#getParameterNames()
 *
 * @return DOMStringList A list of DOMConfiguration parameters recognized
 *                       by the serializer
 */
public DOMStringList getParameterNames() {
    return new DOMStringListImpl(fRecognizedParameters);
}
 
Example #26
Source File: LSSerializerImpl.java    From j2objc with Apache License 2.0 2 votes vote down vote up
/**
 * This method returns a of the parameters supported by this DOMConfiguration object 
 * and for which at least one value can be set by the application
 * 
 * @see org.w3c.dom.DOMConfiguration#getParameterNames()
 * 
 * @return DOMStringList A list of DOMConfiguration parameters recognized
 *                       by the serializer
 */
public DOMStringList getParameterNames() {
    return new DOMStringListImpl(fRecognizedParameters);
}