public class mxGenericChangeCodec extends mxObjectCodec
Constructor and Description |
---|
mxGenericChangeCodec(Object template,
String fieldname)
Constructs a new model codec.
|
mxGenericChangeCodec(Object template,
String[] exclude,
String[] idrefs,
Map<String,String> mapping,
String fieldname)
Constructs a new model codec for the given arguments.
|
Modifier and Type | Method and Description |
---|---|
Object |
afterDecode(mxCodec dec,
Node node,
Object obj)
Hook for subclassers to post-process the object after decoding.
|
addObjectValue, afterEncode, beforeDecode, beforeEncode, cloneTemplate, convertValueFromXml, convertValueToXml, decode, decode, decodeAttribute, decodeAttributes, decodeChild, decodeChildren, decodeNode, encode, encodeElements, encodeFields, encodeObject, encodeValue, getAccessor, getAttributeName, getField, getFieldName, getFieldTemplate, getFieldValue, getFieldValueWithAccessor, getMethod, getName, getTemplate, isExcluded, isPrimitiveValue, isReference, processInclude, setFieldValue, setFieldValueWithAccessor, writeAttribute, writeComplexAttribute, writePrimitiveAttribute
protected String fieldname
public mxGenericChangeCodec(Object template, String fieldname)
public Object afterDecode(mxCodec dec, Node node, Object obj)
mxObjectCodec
mxObjectCodec.decode(mxCodec, Node)
.afterDecode
in class mxObjectCodec
dec
- Codec that controls the decoding process.node
- XML node to be decoded.obj
- Object that represents the default decoding.Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.