public static final class ElementIdStrategy.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ElementIdStrategy |
create() |
ElementIdStrategy.Builder |
idMaker(Supplier<Object> idMaker)
Creates a new unique identifier for the next created
Element . |
ElementIdStrategy.Builder |
idPropertyKey(String idPropertyKey)
This key within which to hold the user-specified identifier.
|
public ElementIdStrategy.Builder idMaker(Supplier<Object> idMaker)
Element
.public ElementIdStrategy.Builder idPropertyKey(String idPropertyKey)
public ElementIdStrategy create()
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.