Class ArchetypeTypeParser
- java.lang.Object
-
- net.sf.gridarta.model.archetypetype.ArchetypeTypeParser
-
public class ArchetypeTypeParser extends java.lang.ObjectUtility class for parsingArchetypeTypeinstances.
-
-
Constructor Summary
Constructors Constructor Description ArchetypeTypeParser(@NotNull ArchetypeAttributeParser archetypeAttributeParser)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ArchetypeTypeloadAttributeList(@NotNull nu.xom.Element typeElement, @NotNull ErrorViewCollector errorViewCollector, @Nullable ArchetypeType parentArchetypeType, @NotNull ArchetypeTypeSet archetypeTypeSet, @NotNull IgnorelistsDefinition ignorelistsDefinition, boolean isDefaultType)Parses an element which contains a list ofConstants.XML_ELEMENT_ATTRIBUTEelements from a types.xml file.
-
-
-
Constructor Detail
-
ArchetypeTypeParser
public ArchetypeTypeParser(@NotNull @NotNull ArchetypeAttributeParser archetypeAttributeParser)Creates a new instance.- Parameters:
archetypeAttributeParser- the parser to use
-
-
Method Detail
-
loadAttributeList
@NotNull public @NotNull ArchetypeType loadAttributeList(@NotNull @NotNull nu.xom.Element typeElement, @NotNull @NotNull ErrorViewCollector errorViewCollector, @Nullable @Nullable ArchetypeType parentArchetypeType, @NotNull @NotNull ArchetypeTypeSet archetypeTypeSet, @NotNull @NotNull IgnorelistsDefinition ignorelistsDefinition, boolean isDefaultType)
Parses an element which contains a list ofConstants.XML_ELEMENT_ATTRIBUTEelements from a types.xml file.- Parameters:
typeElement- the xml 'type' element which is going to be parsederrorViewCollector- the error view collector for reporting errorsparentArchetypeType- the parent archetype typearchetypeTypeSet- archetype type listignorelistsDefinition- the ignore_lists contentsisDefaultType- whether this element is the "default_type"- Returns:
- the archetype type or
null
-
-