public class ArchetypeTypeParser
extends java.lang.Object
ArchetypeType
instances.Constructor and Description |
---|
ArchetypeTypeParser(@NotNull ArchetypeAttributeParser archetypeAttributeParser)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
@NotNull ArchetypeType |
loadAttributeList(@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 of
Constants.XML_ELEMENT_ATTRIBUTE elements from a types.xml file. |
public ArchetypeTypeParser(@NotNull @NotNull ArchetypeAttributeParser archetypeAttributeParser)
archetypeAttributeParser
- the parser to use@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)
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