Java Code Examples for com.helger.commons.lang.EnumHelper#getFromIDOrNull()
The following examples show how to use
com.helger.commons.lang.EnumHelper#getFromIDOrNull() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ErrorTextProvider.java From ph-commons with Apache License 2.0 | 4 votes |
@Nullable public static EField getFromIDOrNull (@Nullable final String sID) { return EnumHelper.getFromIDOrNull (EField.class, sID); }
Example 2
Source File: PSRichGroup.java From ph-schematron with Apache License 2.0 | 4 votes |
@Nullable public static ESpace getFromIDOrNull (@Nullable final String sID) { return EnumHelper.getFromIDOrNull (ESpace.class, sID); }
Example 3
Source File: PSDir.java From ph-schematron with Apache License 2.0 | 4 votes |
@Nullable public static EDirValue getFromIDOrNull (@Nullable final String sID) { return EnumHelper.getFromIDOrNull (EDirValue.class, sID); }