Examples of IAttributeWriter


Examples of org.freeplane.core.io.IAttributeWriter

        final LogicalStyleModel extension = LogicalStyleModel.createExtension((NodeModel) node);
        extension.setStyle(StyleFactory.create(NamedObject.format(value)));
      }
    });
    final WriteManager writeManager = mapController.getWriteManager();
    writeManager.addAttributeWriter(NodeBuilder.XML_NODE, new IAttributeWriter() {
      public void writeAttributes(final ITreeWriter writer, final Object node, final String tag) {
        if(! NodeWriter.shouldWriteSharedContent(writer))
          return;
        final LogicalStyleModel extension = LogicalStyleModel.getExtension((NodeModel) node);
        if (extension == null) {
View Full Code Here

Examples of org.freeplane.core.io.IAttributeWriter

    xmlElement = element;
    elementStarted = false;
    {
      final Iterator<IAttributeWriter> iterator = getAttributeWriters().iterator(name);
      while (iterator.hasNext()) {
        final IAttributeWriter as = iterator.next();
        as.writeAttributes(this, userObject, name);
      }
      if (userObject instanceof List<?>) {
        addExtensionAttributes(userObject, (List<IExtension>) userObject);
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.