Java Code Examples for org.w3c.dom.DOMStringList

The following examples show how to use org.w3c.dom.DOMStringList. These examples are extracted from open source projects. 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 Project: j2objc   Source File: DOMConfigurationImpl.java    License: 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
/**
 *  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 3
Source Project: jdk1.8-source-analysis   Source File: XSLoaderImpl.java    License: Apache License 2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example 4
/**
 *  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 Project: TencentKona-8   Source File: XSLoaderImpl.java    License: GNU General Public License v2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example 6
Source Project: jdk8u60   Source File: DOMConfigurationImpl.java    License: 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 Project: jdk8u60   Source File: XSLoaderImpl.java    License: GNU General Public License v2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example 8
Source Project: JDKSourceCode1.8   Source File: DOMConfigurationImpl.java    License: 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 9
Source Project: JDKSourceCode1.8   Source File: XSLoaderImpl.java    License: MIT License 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example 10
/**
 *  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 11
Source Project: openjdk-jdk8u   Source File: XSLoaderImpl.java    License: GNU General Public License v2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example 12
/**
 *  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 13
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example 14
Source Project: Bytecoder   Source File: DOMConfigurationImpl.java    License: 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 15
Source Project: Bytecoder   Source File: XSLoaderImpl.java    License: Apache License 2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example 16
/**
 *  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 17
Source Project: openjdk-jdk9   Source File: XSLoaderImpl.java    License: GNU General Public License v2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example 18
Source Project: hottub   Source File: DOMConfigurationImpl.java    License: 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 19
Source Project: hottub   Source File: XSLoaderImpl.java    License: GNU General Public License v2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example 20
/**
 *  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
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example 22
/**
 *  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 Project: openjdk-8   Source File: XSLoaderImpl.java    License: GNU General Public License v2.0 4 votes vote down vote up
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
Example 24
Source Project: Bytecoder   Source File: LSSerializerImpl.java    License: 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
/**
 * 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 Project: j2objc   Source File: LSSerializerImpl.java    License: 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);
}