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