commons-digester3-core/src/main/java/org/apache/commons/digester3/plugins/PluginContext.java [193:237]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void setPluginClassAttribute( final String namespaceUri, final String attrName )
    {
        pluginClassAttrNs = namespaceUri;
        pluginClassAttr = attrName;
    }

    /**
     * Sets the XML attribute which the input XML uses to indicate to a PluginCreateRule which plugin declaration is
     * being referenced.
     * <p>
     * Example:
     *
     * <pre>
     * setPluginIdAttribute( null, &quot;id&quot; );
     * </pre>
     *
     * will allow this in the input XML:
     *
     * <pre>
     *  &lt;root&gt;
     *    &lt;some-plugin id="widget"&gt; ......
     * </pre>
     *
     * rather than the default behavior:
     *
     * <pre>
     *  &lt;root&gt;
     *    &lt;some-plugin plugin-id="widget"&gt; ......
     * </pre>
     *
     * This is particularly useful if the input XML document is not in English.
     * <p>
     * Note that the XML attributes used by PluginDeclarationRules are not affected by this method.
     *
     * @param namespaceUri is the namespace uri that the specified attribute is in. If the attribute is in no namespace,
     *            then this should be null. Note that if a namespace is used, the attrName value should <em>not</em>
     *            contain any kind of namespace-prefix. Note also that if you are using a non-namespace-aware parser,
     *            this parameter <em>must</em> be null.
     * @param attrName is the attribute whose value contains the id of the plugin declaration to be used when
     *            instantiating an object.
     */
    public void setPluginIdAttribute( final String namespaceUri, final String attrName )
    {
        pluginIdAttrNs = namespaceUri;
        pluginIdAttr = attrName;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



commons-digester3-core/src/main/java/org/apache/commons/digester3/plugins/PluginCreateRule.java [574:596]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void setPluginClassAttribute( final String namespaceUri, final String attrName )
    {
        pluginClassAttrNs = namespaceUri;
        pluginClassAttr = attrName;
    }

    /**
     * Sets the XML attribute which the input XML uses to indicate to a PluginCreateRule which plugin declaration is
     * being referenced.
     * <p>
     * See {@link PluginRules#setPluginIdAttribute} for more info.
     *
     * @param namespaceUri is the namespace uri that the specified attribute is in. If the attribute is in no namespace,
     *            then this should be null. Note that if a namespace is used, the attrName value should <em>not</em>
     *            contain any kind of namespace-prefix. Note also that if you are using a non-namespace-aware parser,
     *            this parameter <em>must</em> be null.
     * @param attrName is the attribute whose value contains the id of the plugin declaration to be used when
     *            instantiating an object.
     */
    public void setPluginIdAttribute( final String namespaceUri, final String attrName )
    {
        pluginIdAttrNs = namespaceUri;
        pluginIdAttr = attrName;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



