public static final class RangeTrait.Provider extends java.lang.Object implements TraitService
Constructor and Description |
---|
Provider() |
Modifier and Type | Method and Description |
---|---|
RangeTrait |
createTrait(ShapeId target,
Node value)
Creates the trait from a node value.
|
ShapeId |
getShapeId() |
public ShapeId getShapeId()
getShapeId
in interface TraitService
public RangeTrait createTrait(ShapeId target, Node value)
TraitService
createTrait
in interface TraitService
target
- The shape targeted by the trait.value
- The value of the trait.