Attribute attribute = new Attribute("MI:0018", "caution", "Due to a limitation in the conversion form MITAB to XML," + " the real xref for the feature type can not be provided. However, you could use the name of the feature type."); xmlfeature.getAttributes().add(attribute); xmlfeature.getAttributes().add(attribute);
mFeature.getAttributes().add( attributeConverter.fromJaxb( jAttribute ) );
mFeature.getAttributes().add( attributeConverter.fromJaxb( jAttribute ) );
for ( Attribute mAttribute : mFeature.getAttributes() ) { jFeature.getAttributeList().getAttributes().add( attributeConverter.toJaxb( mAttribute ) );
for ( Attribute mAttribute : mFeature.getAttributes() ) { jFeature.getAttributeList().getAttributes().add( attributeConverter.toJaxb( mAttribute ) );