Class QNameChoiceRenderer

  • All Implemented Interfaces:
    Serializable, org.apache.wicket.markup.html.form.IChoiceRenderer<QName>, org.apache.wicket.model.IDetachable, org.apache.wicket.util.io.IClusterable

    @Deprecated
    public class QNameChoiceRenderer
    extends Object
    implements org.apache.wicket.markup.html.form.IChoiceRenderer<QName>
    Deprecated.
    This renderer shouldn't be used unless absolutely necessary. Think twice whether you need QName in your dropdown, because it's hard to translate QName values.

    Most of the time ObjectTypes and such should be used.

    See Also:
    Serialized Form
    • Constructor Detail

      • QNameChoiceRenderer

        public QNameChoiceRenderer()
        Deprecated.
      • QNameChoiceRenderer

        public QNameChoiceRenderer​(boolean usePrefix)
        Deprecated.
    • Method Detail

      • getObject

        public QName getObject​(String id,
                               org.apache.wicket.model.IModel<? extends List<? extends QName>> choices)
        Deprecated.
        Specified by:
        getObject in interface org.apache.wicket.markup.html.form.IChoiceRenderer<QName>
      • getDisplayValue

        public Object getDisplayValue​(QName object)
        Deprecated.
        Specified by:
        getDisplayValue in interface org.apache.wicket.markup.html.form.IChoiceRenderer<QName>
      • getIdValue

        public String getIdValue​(QName object,
                                 int index)
        Deprecated.
        Specified by:
        getIdValue in interface org.apache.wicket.markup.html.form.IChoiceRenderer<QName>