Class View.Name

  • Direct Known Subclasses:
    AutoValue_View_Name
    Enclosing class:
    View

    @Immutable
    public abstract static class View.Name
    extends java.lang.Object
    The name of a View.
    Since:
    0.8
    • Constructor Summary

      Constructors 
      Constructor Description
      Name()  
    • Constructor Detail

      • Name

        Name()
    • Method Detail

      • asString

        public abstract java.lang.String asString()
        Returns the name as a String.
        Returns:
        the name as a String.
        Since:
        0.8
      • create

        public static View.Name create​(java.lang.String name)
        Creates a View.Name from a String. Should be a ASCII string with a length no greater than 255 characters.

        Suggested format for name: <web_host>/<path>.

        Parameters:
        name - the name String.
        Returns:
        a View.Name with the given name String.
        Since:
        0.8