Class ImageElement

    • Constructor Detail

      • ImageElement

        public ImageElement​(java.lang.String name)
        Constructor.
        Parameters:
        name - Element name.
      • ImageElement

        public ImageElement​(java.lang.String name,
                            java.lang.String uri)
        Constructor.
        Parameters:
        name - Element name.
        uri - Element URI.
      • ImageElement

        public ImageElement​(nu.xom.Element element)
        Constructor.
        Parameters:
        element - Element.
      • ImageElement

        public ImageElement​(java.lang.String name,
                            java.lang.String uri,
                            java.lang.String sourcePath)
        Constructor with Source location.
        Parameters:
        name - Element name.
        uri - Element URI.
        sourcePath - Source Path.
    • Method Detail

      • delete

        public void delete​(DocIO resIO)
        Description copied from class: VisualElement
        Delete the element and sub-elements.
        Specified by:
        delete in class VisualElement
        Parameters:
        resIO - Resource handler to remove resources on delete.
      • getSourceLoc

        public final java.util.Optional<java.lang.String> getSourceLoc()
        Get the image's source path or URL.
        Specified by:
        getSourceLoc in interface Includable
        Returns:
        Location string.