org.geotools.feature
Class AppSchemaAttributeBuilder
Object
AttributeBuilder
AppSchemaAttributeBuilder
public class AppSchemaAttributeBuilder
- extends AttributeBuilder
Builder for attributes.
- Author:
- Justin Deoliveira (The Open Planning Project)
Method Summary |
Attribute |
add(String id,
Object value,
Name name,
AttributeType type)
Adds an attribute to the complex attribute being built overriding the type of the declared
attribute descriptor by a subtype of it. |
Methods inherited from class AttributeBuilder |
add, add, add, add, add, add, addAnyTypeValue, addComplexAnyTypeAttribute, associate, associate, associate, associationDescriptor, attributeDescriptor, build, build, buildSimple, create, createComplexAttribute, getCRS, getCRS, getDefaultGeometry, getDescriptor, getFeatureFactory, getNamespaceURI, getProperties, getType, init, init, properties, setCRS, setDefaultGeometry, setDescriptor, setFeatureFactory, setNamespaceURI, setType |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppSchemaAttributeBuilder
public AppSchemaAttributeBuilder(FeatureFactory attributeFactory)
add
public Attribute add(String id,
Object value,
Name name,
AttributeType type)
- Adds an attribute to the complex attribute being built overriding the type of the declared
attribute descriptor by a subtype of it.
This method uses the type supplied in AttributeBuilder.setType(AttributeType)
in order to determine
the attribute type.
- Parameters:
id
- the attribtue idvalue
- The value of the attribute.name
- The name of the attribute.type
- the actual type of the attribute, which might be the same as the declared type
for the given AttributeDescriptor or a derived type.
Copyright © 1996-2014 Geotools. All Rights Reserved.