public class ItemTypeExtractionStrategy extends Object
| Constructor and Description |
|---|
ItemTypeExtractionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
static Long |
calculate(Map itemMap) |
static Long |
calculate(String title,
String itemIntrospect,
String qmdItemtype)
Obtain Long item type id from strings extracted from item.
|
static void |
main(String[] args)
simple unit test
|
public static Long calculate(String title, String itemIntrospect, String qmdItemtype)
title - the item titleitemIntrospect - hte structure based guess from XSLqmdItemtype - hte item type meta informationpublic static void main(String[] args)
args - not usedCopyright © 2005–2017 Sakai Project. All rights reserved.