Class ArchetypeTypeSetParser
- java.lang.Object
-
- net.sf.gridarta.model.archetypetype.ArchetypeTypeSetParser
-
public class ArchetypeTypeSetParser extends java.lang.ObjectParser forArchetypeTypeSets("types.xml" files).
-
-
Constructor Summary
Constructors Constructor Description ArchetypeTypeSetParser(@NotNull ArchetypeTypeParser archetypeTypeParser)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ArchetypeTypeSetloadTypesFromXML(@NotNull ErrorViewCollector errorViewCollector, @NotNull nu.xom.Document document)Loads a types.xml file.
-
-
-
Constructor Detail
-
ArchetypeTypeSetParser
public ArchetypeTypeSetParser(@NotNull @NotNull ArchetypeTypeParser archetypeTypeParser)Creates a new instance.- Parameters:
archetypeTypeParser- the archetype type parser to use
-
-
Method Detail
-
loadTypesFromXML
@NotNull public @NotNull ArchetypeTypeSet loadTypesFromXML(@NotNull @NotNull ErrorViewCollector errorViewCollector, @NotNull @NotNull nu.xom.Document document)
Loads a types.xml file.- Parameters:
errorViewCollector- the error view collector for reporting errorsdocument- the document containing the contents of the types.xml file- Returns:
- the loaded archetype types
-
-