use of org.freeplane.core.io.IExtensionAttributeWriter in project freeplane by freeplane.
the class TreeXmlWriter method addExtensionAttributes.
public void addExtensionAttributes(final Object map, final Collection<IExtension> extensions) {
final Iterator<IExtension> extensionIterator = extensions.iterator();
while (extensionIterator.hasNext()) {
final IExtension extension = extensionIterator.next();
final Iterator<IExtensionAttributeWriter> writerIterator = writeManager.getExtensionAttributeWriters().iterator(extension.getClass());
while (writerIterator.hasNext()) {
writerIterator.next().writeAttributes(this, map, extension);
}
}
}
Aggregations