Class Bookmark.Parameter

  • All Implemented Interfaces:
    com.globalmentor.model.IDed<java.lang.String>, com.globalmentor.model.Named<java.lang.String>, com.globalmentor.model.Valued<java.lang.String>
    Enclosing class:
    Bookmark

    public static class Bookmark.Parameter
    extends com.globalmentor.net.URIQueryParameter
    A bookmark parameter name/value pair. Neither the name nor the value of a bookmark parameter can be null.
    Author:
    Garret Wilson
    • Constructor Summary

      Constructors 
      Constructor Description
      Parameter​(java.lang.String name, java.lang.String value)
      Constructor specifying the name and value.
    • Method Summary

      • Methods inherited from class com.globalmentor.model.NameValuePair

        equals, fromMapEntry, getID, getValue, hashCode, toString
      • Methods inherited from class com.globalmentor.model.DefaultNamed

        getName
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Parameter

        public Parameter​(java.lang.String name,
                         java.lang.String value)
        Constructor specifying the name and value.
        Parameters:
        name - The parameter name.
        value - The parameter value.
        Throws:
        java.lang.NullPointerException - if the given name and/or value is null.