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.OwFormat
public Format getTextFormat(int fieldProviderType_p)
getTextFormat
in interface com.wewebu.ow.server.field.OwFormat
public boolean ignoreDate()
ignoreDate
in interface com.wewebu.ow.server.field.OwFormat
public boolean ignoreTime()
ignoreTime
in interface com.wewebu.ow.server.field.OwFormat
public 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.OwFormat
com.wewebu.ow.server.exceptions.OwInvalidOperationException
protected String[] splitArray(String arrayText_p) throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwException
protected Object parseSingleString(String valueString_p) throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
com.wewebu.ow.server.exceptions.OwInvalidOperationException
public Object parse(String text_p, boolean asArray_p) throws com.wewebu.ow.server.exceptions.OwException
parse
in interface OwCMISFormat
com.wewebu.ow.server.exceptions.OwException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.