public class ArchetypeTypeParser
extends java.lang.Object
ArchetypeType
instances.Constructor and Description |
---|
ArchetypeTypeParser(ArchetypeAttributeParser archetypeAttributeParser)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
ArchetypeType |
loadAttributeList(nu.xom.Element typeElement,
ErrorViewCollector errorViewCollector,
ArchetypeType parentArchetypeType,
ArchetypeTypeSet archetypeTypeSet,
IgnorelistsDefinition ignorelistsDefinition,
boolean isDefaultType)
Parses an element which contains a list of
Constants.XML_ELEMENT_ATTRIBUTE elements from a types.xml file. |
public ArchetypeTypeParser(@NotNull ArchetypeAttributeParser archetypeAttributeParser)
archetypeAttributeParser
- the parser to use@NotNull public ArchetypeType loadAttributeList(@NotNull nu.xom.Element typeElement, @NotNull ErrorViewCollector errorViewCollector, @Nullable ArchetypeType parentArchetypeType, @NotNull ArchetypeTypeSet archetypeTypeSet, @NotNull IgnorelistsDefinition ignorelistsDefinition, boolean isDefaultType)
Constants.XML_ELEMENT_ATTRIBUTE
elements from a types.xml file.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"null