Package com.networknt.schema.format
Class BaseFormat
- java.lang.Object
-
- com.networknt.schema.format.BaseFormat
-
- All Implemented Interfaces:
Format
- Direct Known Subclasses:
AbstractFormat
@Deprecated public abstract class BaseFormat extends java.lang.Object implements Format
Deprecated.Base implementation ofFormat
.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
errorMessageDescription
Deprecated.private java.lang.String
name
Deprecated.
-
Constructor Summary
Constructors Constructor Description BaseFormat(java.lang.String name, java.lang.String errorMessageDescription)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getErrorMessageDescription()
Deprecated.Gets the error message description.java.lang.String
getName()
Deprecated.Gets the format name.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Deprecated.Description copied from interface:Format
Gets the format name.
-
getErrorMessageDescription
public java.lang.String getErrorMessageDescription()
Deprecated.Description copied from interface:Format
Gets the error message description.Deprecated. Override getMessageKey() and set the localized message in the resource bundle or message source.
- Specified by:
getErrorMessageDescription
in interfaceFormat
- Returns:
- the error message description.
-
-