Class DOMToProperties

    • Field Detail

      • m_PathSeparator

        protected String m_PathSeparator
        the path separator.
      • m_AddIndex

        protected boolean m_AddIndex
        whether to add index to path.
      • m_StoreAttributes

        protected boolean m_StoreAttributes
        whether to store attributes of elements as well.
      • m_SkipRoot

        protected boolean m_SkipRoot
        whether to exclude the root element from the path.
    • Constructor Detail

      • DOMToProperties

        public DOMToProperties()
    • Method Detail

      • setPathSeparator

        public void setPathSeparator​(String value)
        Sets the separator in use.
        Parameters:
        value - the separator
      • getPathSeparator

        public String getPathSeparator()
        Returns the separator in use.
        Returns:
        the separator
      • pathSeparatorTipText

        public String pathSeparatorTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setAddIndex

        public void setAddIndex​(boolean value)
        Sets whether to add the index to the path to disambiguate values.
        Parameters:
        value - true if to add index
      • getAddIndex

        public boolean getAddIndex()
        Returns whether to add the index to the path to disambiguate values.
        Returns:
        true if to add index
      • addIndexTipText

        public String addIndexTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setStoreAttributes

        public void setStoreAttributes​(boolean value)
        Sets whether to store the attributes as well.
        Parameters:
        value - true if to store attributes
      • getStoreAttributes

        public boolean getStoreAttributes()
        Returns whether to store the attributes as well.
        Returns:
        true if attributes are stored as well
      • storeAttributesTipText

        public String storeAttributesTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setSkipRoot

        public void setSkipRoot​(boolean value)
        Sets whether to exclude the root element name from the path.
        Parameters:
        value - true if to exclude the root
      • getSkipRoot

        public boolean getSkipRoot()
        Returns whether to exclude the root element name from the path.
        Returns:
        true if root excluded
      • skipRootTipText

        public String skipRootTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.