Interface NameFormatterHook

    • Method Detail

      • checkRelationTypeName

        String checkRelationTypeName​(IRelation<?> relation,
                                     String defaultName)
        Check the relation type name. Return the corrected type name if needed, null otherwise.
        Parameters:
        relation - The relation.
        defaultName - The default name generated by core.
        Returns:
        The corrected type name if needed, null otherwise.
      • checkFormat

        String checkFormat​(INode node,
                           String defaultName)
        Check the node format. Return the corrected format if needed, null otherwise.
        Parameters:
        node - The node.
        defaultName - The default name generated by core.
        Returns:
        The corrected format if needed, null otherwise.
      • checkFormat

        String checkFormat​(IWay<?> way,
                           String defaultName)
        Check the way format. Return the corrected format if needed, null otherwise.
        Parameters:
        way - The way.
        defaultName - The default name generated by core.
        Returns:
        The corrected format if needed, null otherwise.
      • checkFormat

        String checkFormat​(IRelation<?> relation,
                           String defaultName)
        Check the relation format. Return the corrected format if needed, null otherwise.
        Parameters:
        relation - The relation.
        defaultName - The default name generated by core.
        Returns:
        The corrected format if needed, null otherwise.