loci.formats.gui

## Class XMLCellRenderer.XMLItem

- java.lang.Object
- - loci.formats.gui.XMLCellRenderer.XMLItem

- Enclosing class:
    XMLCellRenderer

      private static class XMLCellRenderer.XMLItem
      extends java.lang.Object

  Cell renderer item for use as DefaultMutableTreeNode user object.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private org.w3c.dom.Node` | `node`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `XMLItem(org.w3c.dom.Node node)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `private java.lang.String` | `sanitize(java.lang.String s, boolean html)` Sanitizes strings to appear correctly in HTML.
    `java.lang.String` | `toString()` Allows copy and paste from tree component.
    `java.lang.String` | `toString(boolean html)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### node

          private org.w3c.dom.Node node

  - ### Constructor Detail

    - #### XMLItem

          public XMLItem(org.w3c.dom.Node node)

  - ### Method Detail

    - #### toString

          public java.lang.String toString(boolean html)

    - #### toString

          public java.lang.String toString()

      Allows copy and paste from tree component.
      Overrides:
        `toString` in class `java.lang.Object`

    - #### sanitize

          private java.lang.String sanitize(java.lang.String s,
                                            boolean html)

      Sanitizes strings to appear correctly in HTML.

Copyright © 2026 Open Microscopy Environment