/** * Builds the metadata for the attribute inside the parent, during the * context. Note that this will not declare the attribute as part of the * parent element, that must be done using * {@link ElementCreator#addAttribute(AttributeKey)} or * {@link ElementCreator#replaceAttribute(AttributeKey)}. */ public AttributeCreator build(ElementKey<?, ?> parent, AttributeKey<?> attribute, MetadataContext context) { return getOrCreateAttribute(attribute).build(parent, attribute, context); }
/** * Builds the metadata for the attribute inside the parent, during the * context. Note that this will not declare the attribute as part of the * parent element, that must be done using * {@link ElementCreator#addAttribute(AttributeKey)} or * {@link ElementCreator#replaceAttribute(AttributeKey)}. */ public AttributeCreator build(ElementKey<?, ?> parent, AttributeKey<?> attribute, MetadataContext context) { return getOrCreateAttribute(attribute).build(parent, attribute, context); }
/** * Builds the metadata for the attribute inside the parent, during the * context. Note that this will not declare the attribute as part of the * parent element, that must be done using * {@link ElementCreator#addAttribute(AttributeKey)} or * {@link ElementCreator#replaceAttribute(AttributeKey)}. */ public AttributeCreator build(ElementKey<?, ?> parent, AttributeKey<?> attribute, MetadataContext context) { return getOrCreateAttribute(attribute).build(parent, attribute, context); }