public class OwCMISJavaTextFormat extends Object implements OwCMISFormat
OwCMISNativeFormat.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Constructor and Description |
|---|
OwCMISJavaTextFormat(Format textFormat_p,
Class<?> valueClass_p) |
OwCMISJavaTextFormat(Format textFormat_p,
Class<?> valueClass_p,
String arraySeparatorRegexp_p) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canValidate() |
Format |
getTextFormat(int fieldProviderType_p) |
boolean |
ignoreDate() |
boolean |
ignoreTime() |
Object |
parse(String text_p,
boolean asArray_p) |
protected Object |
parseSingleString(String valueString_p) |
protected String[] |
splitArray(String arrayText_p) |
String |
validate(int fieldProviderType_p,
Object object_p,
Locale locale_p) |
public boolean canValidate()
canValidate in interface com.wewebu.ow.server.field.OwFormatpublic Format getTextFormat(int fieldProviderType_p)
getTextFormat in interface com.wewebu.ow.server.field.OwFormatpublic boolean ignoreDate()
ignoreDate in interface com.wewebu.ow.server.field.OwFormatpublic boolean ignoreTime()
ignoreTime in interface com.wewebu.ow.server.field.OwFormatpublic String validate(int fieldProviderType_p, Object object_p, Locale locale_p) throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
validate in interface com.wewebu.ow.server.field.OwFormatcom.wewebu.ow.server.exceptions.OwInvalidOperationExceptionprotected String[] splitArray(String arrayText_p) throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwExceptionprotected Object parseSingleString(String valueString_p) throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
com.wewebu.ow.server.exceptions.OwInvalidOperationExceptionpublic Object parse(String text_p, boolean asArray_p) throws com.wewebu.ow.server.exceptions.OwException
parse in interface OwCMISFormatcom.wewebu.ow.server.exceptions.OwExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.