src/main/java/com/mxgraph/io/mxObjectCodec.java
protected void writeComplexAttribute(mxCodec enc, Object obj, String attr,
			Object value, Node node)
	{
		Node child = enc.encode(value);

		if (child != null)
		{
			if (attr != null)
			{
				mxCodec.setAttribute(child, "as", attr);
			}

			node.appendChild(child);
		}
		else
		{
			log.log(Level.FINEST, "mxObjectCodec.encode: No node for " + getName()
					+ "." + attr + ": " + value);
		}
	}
/**
	 * Writes the given value as a child node of the given node.
	 */
Writes the given value as a child node of the given node.
Writes the given value as a child node of the given node .
protected void writeComplexAttribute(mxCodec enc, Object obj, String attr,
			Object value, Node node)
	{
		Node child = enc.encode(value);
		if (child != null)
		{
			if (attr != null)
			{
				mxCodec.setAttribute(child, "as", attr);
			}
			node.appendChild(child);
		}
		else
		{
			log.log(Level.FINEST, "mxObjectCodec.encode: No node for " + getName()
					+ "." + attr + ": " + value);
		}
	}
protected void writeComplexAttribute ( mxCodec enc , Object obj , String attr , Object value , Node node ) { Node child = enc . encode ( value ) ; if ( child != null ) { if ( attr != null ) { mxCodec . setAttribute ( child , "as" , attr ) ; } node . appendChild ( child ) ; } else { log . log ( Level . FINEST , "mxObjectCodec.encode: No node for " + getName ( ) + "." + attr + ": " + value ) ; } }
Writes the given value as a child node of the given node.
Writes the given value as a child node of the given node .