public abstract class EncodableFacetAbstract extends FacetAbstract implements EncodableFacet
FacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.Validating| Constructor and Description |
|---|
EncodableFacetAbstract(String candidateEncoderDecoderName,
Class<?> candidateEncoderDecoderClass,
FacetHolder holder,
AdapterManager adapterManager,
ServicesInjector dependencyInjector) |
| Modifier and Type | Method and Description |
|---|---|
ObjectAdapter |
fromEncodedString(String encodedData)
Equivalent to
EncoderDecoder.fromEncodedString(String), though
may be implemented through some other equivalent mechanism. |
AdapterManager |
getAdapterManager() |
ServicesInjector |
getDependencyInjector() |
Class<?> |
getEncoderDecoderClass()
Guaranteed to implement the
EncoderDecoder class, thanks to
generics in the applib. |
boolean |
isValid()
Discover whether either of the candidate encoder/decoder name or class is
valid.
|
String |
toEncodedString(ObjectAdapter object)
Equivalent to
EncoderDecoder.toEncodedString(Object), though may
be implemented through some other equivalent mechanism. |
protected String |
toStringValues() |
alwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitalwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetpublic EncodableFacetAbstract(String candidateEncoderDecoderName, Class<?> candidateEncoderDecoderClass, FacetHolder holder, AdapterManager adapterManager, ServicesInjector dependencyInjector)
public boolean isValid()
public Class<?> getEncoderDecoderClass()
EncoderDecoder class, thanks to
generics in the applib.protected String toStringValues()
toStringValues in class FacetAbstractpublic ObjectAdapter fromEncodedString(String encodedData)
EncodableFacetEncoderDecoder.fromEncodedString(String), though
may be implemented through some other equivalent mechanism.fromEncodedString in interface EncodableFacetpublic String toEncodedString(ObjectAdapter object)
EncodableFacetEncoderDecoder.toEncodedString(Object), though may
be implemented through some other equivalent mechanism.toEncodedString in interface EncodableFacetpublic AdapterManager getAdapterManager()
public ServicesInjector getDependencyInjector()
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.