public class URLValueSemanticsProvider extends ValueSemanticsProviderAndFacetAbstract<URL> implements URLValueFacet
ValueSemanticsProviderAndFacetAbstract.EqualByContent, ValueSemanticsProviderAndFacetAbstract.ImmutabilityFacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.Validating| Constructor and Description |
|---|
URLValueSemanticsProvider()
Required because implementation of
Parser and
EncoderDecoder. |
URLValueSemanticsProvider(FacetHolder holder,
IsisConfiguration configuration,
ValueSemanticsProviderContext context) |
| Modifier and Type | Method and Description |
|---|---|
ObjectAdapter |
createValue(URL value) |
protected String |
doEncode(Object object)
Hook method to perform the actual encoding.
|
protected URL |
doParse(Object context,
String entry) |
protected URL |
doRestore(String data)
Hook method to perform the actual restoring.
|
String |
titleString(Object object,
org.apache.isis.applib.profiles.Localization localization)
Return a string representation of aforesaid object.
|
String |
titleStringWithMask(Object object,
String usingMask) |
String |
toString() |
static Class<? extends Facet> |
type() |
URL |
urlValue(ObjectAdapter object) |
alwaysReplace, createAdapter, determineNumberFormat, displayTitleOf, displayTitleOf, doParse, fromEncodedString, getAdaptedClass, getAdapterManager, getAuthenticationSessionProvider, getClock, getConfiguration, getContext, getDefaultsProvider, getDefaultValue, getDependencyInjector, getEncoderDecoder, getParser, getSpecification, getSpecificationLookup, isEqualByContent, isImmutable, parseableTitleOf, parseTextEntry, titleString, toEncodedString, typicalLengthfacetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet, toStringValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitalwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetpublic URLValueSemanticsProvider()
Parser and
EncoderDecoder.public URLValueSemanticsProvider(FacetHolder holder, IsisConfiguration configuration, ValueSemanticsProviderContext context)
protected URL doParse(Object context, String entry)
doParse in class ValueSemanticsProviderAndFacetAbstract<URL>context - - the underlying object, or null.entry - - the proposed new object, as a string representation to be
parsedpublic String titleString(Object object, org.apache.isis.applib.profiles.Localization localization)
ValueSemanticsProviderAndFacetAbstracttitleString in class ValueSemanticsProviderAndFacetAbstract<URL>public String titleStringWithMask(Object object, String usingMask)
titleStringWithMask in class ValueSemanticsProviderAndFacetAbstract<URL>protected String doEncode(Object object)
ValueSemanticsProviderAndFacetAbstractdoEncode in class ValueSemanticsProviderAndFacetAbstract<URL>protected URL doRestore(String data)
ValueSemanticsProviderAndFacetAbstractdoRestore in class ValueSemanticsProviderAndFacetAbstract<URL>public URL urlValue(ObjectAdapter object)
urlValue in interface URLValueFacetpublic ObjectAdapter createValue(URL value)
createValue in interface URLValueFacetpublic String toString()
toString in class FacetAbstractCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.