Interface NodeFactory

    • Method Detail

      • createNew

        Node createNew()
        Create a new node (without registering)
        Returns:
        created node
      • createNew

        default Node createNew​(org.locationtech.jts.geom.Point position,
                               boolean syncXmlIdToId)
        Create a new node (without registering) and set its gemoetry and potentially sync its XML id to the underlying internal id
        Parameters:
        position - to use
        syncXmlIdToId - when true set XML id to internal id, when false leave it null
        Returns:
        created node
      • registerNew

        Node registerNew()
        Create and register new node
        Returns:
        new node created
      • registerNew

        Node registerNew​(org.locationtech.jts.geom.Point position,
                         boolean syncXmlIdToId)
        Register a new node and set its geometry and potentially sync its XML id to the underlying internal id
        Parameters:
        position - to use
        syncXmlIdToId - when true set XML id to internal id, when false leave it null
        Returns:
        created and registered node