Package de.mhus.lib.core.pojo
Class PojoParser
- java.lang.Object
-
- de.mhus.lib.core.pojo.PojoParser
-
public class PojoParser extends Object
Usage new Parser().parse(object).filter(new DefautFilter()).getModel()- Author:
- mikehummel
-
-
Constructor Summary
Constructors Constructor Description PojoParser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectcheckParent(PojoAttribute<Object> parent, Object pojo)PojoParserfilter(boolean removeHidden, boolean removeEmbedded, boolean removeWriteOnly, boolean removeReadOnly, boolean removeNoActions)PojoParserfilter(PojoFilter filter)PojoModelgetModel()PojoParserparse(Object pojo)PojoParserparse(Object pojo, PojoStrategy strategy)PojoParserparse(Object pojo, String embedGlue, boolean allowPublic, Class<? extends Annotation>[] annotationMarker)PojoParserparse(Object pojo, String embedGlue, Class<? extends Annotation>[] annotationMarker)
-
-
-
Method Detail
-
parse
public PojoParser parse(Object pojo)
-
parse
public PojoParser parse(Object pojo, String embedGlue, boolean allowPublic, Class<? extends Annotation>[] annotationMarker)
-
parse
public PojoParser parse(Object pojo, String embedGlue, Class<? extends Annotation>[] annotationMarker)
-
parse
public PojoParser parse(Object pojo, PojoStrategy strategy)
-
filter
public PojoParser filter(boolean removeHidden, boolean removeEmbedded, boolean removeWriteOnly, boolean removeReadOnly, boolean removeNoActions)
-
filter
public PojoParser filter(PojoFilter filter)
-
getModel
public PojoModel getModel()
-
checkParent
public static Object checkParent(PojoAttribute<Object> parent, Object pojo) throws IOException
- Throws:
IOException
-
-