Class FileName

java.lang.Object
org.apache.sis.internal.jaxb.gcx.FileName

public final class FileName extends Object
The <gcx:FileName> element, which may be used as a substitute of <gco:CharacterString>. This is used for the URI in DefaultBrowseGraphic. Example:
Since:
0.4
Version:
0.4
Author:
Martin Desruisseaux (Geomatys)
See Also:
  • Constructor Details

    • FileName

      public FileName()
      Empty constructor for JAXB only.
    • FileName

      public FileName(String uri)
      Creates a new <gml:FileName> for the given URI.
      Parameters:
      uri - the string representation of the URI.
  • Method Details

    • toString

      public String toString()
      Returns the file path, or null if none.
      Note: Returning null is usually not recommended for a toString() method, but this class is for internal usage only.
      Overrides:
      toString in class Object
      Returns:
      the file path, or null if none.