public Write ( OutputNode node, Object item ) : void | ||
node | OutputNode | /// this is the node that the value is written to /// |
item | Object | /// this is the item that is to be written /// |
return | void |
public void Write(OutputNode node, Object item) {
Class expect = type.Type;
String key = entry.Key;
if(entry.IsAttribute()) {
throw new ElementException("Can not have %s as an attribute", expect);
}
if(key == null) {
key = context.GetName(expect);
}
String name = style.GetElement(key);
root.Write(node, item, expect, name);
}
}