public class ModelBeanBuilder extends Object implements ModelExtensionFileParserCallback
| Modifier and Type | Field and Description |
|---|---|
protected int |
classAttributeStereotypeHits |
protected int |
classAttributeTagValueHits |
protected int |
classStereotypeHits |
protected int |
classTagValueHits |
protected ModelBean |
modelBean |
protected int |
modelStereotypeHits |
protected int |
modelTagValueHits |
protected int |
packageStereotypeHits |
protected int |
packageTagValueHits |
protected boolean |
strictLoading |
| Constructor and Description |
|---|
ModelBeanBuilder(boolean strictLoading,
String modelName) |
protected final ModelBean modelBean
protected int modelStereotypeHits
protected int modelTagValueHits
protected int packageStereotypeHits
protected int packageTagValueHits
protected int classStereotypeHits
protected int classTagValueHits
protected int classAttributeStereotypeHits
protected int classAttributeTagValueHits
protected boolean strictLoading
public ModelBeanBuilder(boolean strictLoading,
String modelName)
public ModelBean build()
public int getStereotypeHits()
public int getTagValueHits()
public int getModelStereotypeHits()
public int getModelTagValueHits()
public int getPackageStereotypeHits()
public int getPackageTagValueHits()
public int getClassStereotypeHits()
public int getClassTagValueHits()
public int getClassAttributeStereotypeHits()
public int getClassAttributeTagValueHits()
public boolean onModelTagValueFound(String tag, String value)
onModelTagValueFound in interface ModelExtensionFileParserCallbackpublic boolean onModelStereotypeFound(String stereotype)
onModelStereotypeFound in interface ModelExtensionFileParserCallbackpublic boolean onPackageTagValueFound(String packageName, String tag, String value)
onPackageTagValueFound in interface ModelExtensionFileParserCallbackpublic boolean onPackageStereotypeFound(String packageName, String stereotype)
onPackageStereotypeFound in interface ModelExtensionFileParserCallbackpublic boolean onClassTagValueFound(String className, String tag, String value)
onClassTagValueFound in interface ModelExtensionFileParserCallbackpublic boolean onClassStereotypeFound(String className, String stereotype)
onClassStereotypeFound in interface ModelExtensionFileParserCallbackpublic boolean onAttributeTagValueFound(String className, String attributeName, String tag, String value)
onAttributeTagValueFound in interface ModelExtensionFileParserCallbackpublic boolean onAttributeStereotypeFound(String className, String attributeName, String stereotype)
onAttributeStereotypeFound in interface ModelExtensionFileParserCallbackpublic void addFile(File inputFile) throws InvalidTagValueSyntaxException, InvalidStereotypeSyntaxException, IOException
protected void addTagValue(ElementBean elementBean, String tag, String value)
protected void addStereotype(ElementBean elementBean, String stereotype)
Copyright © 2006–2016 CodeLutin. All rights reserved.