public interface ObjectNameModifier
Implementations need to be safe for multi-threading.
Modifier and Type | Method and Description |
---|---|
ObjectInstance |
apply(ObjectInstance instance)
Encodes the object name in the given object instance.
|
ObjectName |
apply(ObjectName name)
Encodes the given object name.
|
ObjectInstance |
unapply(ObjectInstance instance)
Decodes the object name in the given object instance.
|
ObjectName |
unapply(ObjectName name)
Decodes the given object name.
|
@Nullable ObjectInstance apply(@Nullable ObjectInstance instance)
instance
- the object instance with the object name to encode.@Nullable ObjectName apply(@Nullable ObjectName name)
name
- the object name to encode.@Nullable ObjectInstance unapply(@Nullable ObjectInstance instance)
instance
- the object instance with the object name to decode.@Nullable ObjectName unapply(@Nullable ObjectName name)
name
- the object name to decode.Copyright © 2012–2018 Schlichtherle IT Services. All rights reserved.