| Package | Description |
|---|---|
| com.google.gdata.model |
| Modifier and Type | Method and Description |
|---|---|
ElementCreator |
ElementCreator.adapt(String kind,
ElementKey<?,?> adaptation)
Adds an adaptation from the element type of this element to the adaptation
type.
|
ElementCreator |
ElementCreator.addElement(ElementKey<?,?> element)
Add the metadata for a child element.
|
ElementCreator |
ElementCreator.addUndeclaredAttributeMarker()
Sets the location of the undeclared attributes.
|
ElementCreator |
ElementCreator.addUndeclaredElementMarker()
Sets the location of the undeclared elements.
|
ElementCreator |
ElementCreator.blacklistElements(ElementKey<?,?>... keys)
Blacklist a set of keys, these keys will be explicitly hidden from view.
|
ElementCreator |
MetadataRegistry.build(ElementKey<?,?> element)
Builds element metadata for the given key.
|
ElementCreator |
MetadataRegistry.build(ElementKey<?,?> parent,
ElementKey<?,?> element)
Builds metadata for when the
key is inside the parent. |
ElementCreator |
MetadataRegistry.build(ElementKey<?,?> parent,
ElementKey<?,?> element,
MetadataContext context)
Builds metadata for when the
key is inside the parent and
used in a context compatible with context. |
ElementCreator |
MetadataRegistry.build(ElementKey<?,?> element,
MetadataContext context)
Builds metadata for when the
key is used in a context compatible
with context. |
ElementCreator |
ElementCreator.flatten()
Flattens this element.
|
ElementCreator |
ElementCreator.moveElement(ElementKey<?,?> key,
Path path)
Adds a new virtual element based on a path.
|
ElementCreator |
ElementCreator.orderAndWhitelistAttributes(AttributeKey<?>... keys)
Sets a list of attributes as the only visible attributes for an element,
and also places them into the given order in the element.
|
ElementCreator |
ElementCreator.orderAndWhitelistElements(ElementKey<?,?>... keys)
Sets a list of elements as the only visible child elements for an element,
and also places them into the given order in the element.
|
ElementCreator |
ElementCreator.replaceElement(ElementKey<?,?> key)
Replaces the existing metadata for a child element.
|
ElementCreator |
ElementCreator.setCardinality(ElementMetadata.Cardinality cardinality)
Sets the cardinality of the element.
|
ElementCreator |
ElementCreator.setContentRequired(boolean contentRequired)
Sets whether the element's content is required.
|
ElementCreator |
ElementCreator.setMultipleVirtualElement(ElementMetadata.MultipleVirtualElement virtualElement)
Sets this metadata as representing a virtual element with multiple
cardinality.
|
ElementCreator |
ElementCreator.setName(QName name)
Sets the name of the element.
|
ElementCreator |
ElementCreator.setProperties(Object properties)
Sets the element's properties.
|
ElementCreator |
ElementCreator.setRequired(boolean required)
Sets the requiredness of this element.
|
ElementCreator |
ElementCreator.setSingleVirtualElement(ElementMetadata.SingleVirtualElement virtualElement)
Sets this metadata as representing a virtual element with single
cardinality.
|
ElementCreator |
ElementCreator.setValidator(ElementValidator validator)
Sets the element's validator.
|
ElementCreator |
ElementCreator.setVirtualValue(Metadata.VirtualValue virtualValue)
Sets the virtual text content of this element.
|
ElementCreator |
ElementCreator.setVisible(boolean visible)
Sets whether this element is visible.
|
ElementCreator |
ElementCreator.whitelistAttributes(AttributeKey<?>... keys)
Whitelists a set of attributes for this element metadata.
|
ElementCreator |
ElementCreator.whitelistElements(ElementKey<?,?>... keys)
Whitelists a set of child elements for this element metadata.
|
Copyright © 2012. All Rights Reserved.