public class RichXMLFactory.CALLAddon<A extends IAddon> extends RichXMLFactory.GenericAddon<A>
Constructor and Description |
---|
CALLAddon() |
Modifier and Type | Method and Description |
---|---|
String |
getImplementationId()
Null for generic implem.
|
protected void |
handleReadAttr(A addon,
Node node,
Node attr) |
protected void |
handleWriteAttribute(Outer os,
A addon,
PersistantPropertyInfo property,
Object propertyValue,
String defaultValue) |
protected boolean |
isWriteAsAttribute(PersistantPropertyInfo property,
Object propertyValue)
Does value should be writen as node ?
|
protected boolean |
isWriteAsNode(PersistantPropertyInfo property,
Object propertyValue)
Does value should be writen as attribute?
|
void |
writePersistantObject(Outer os,
String property,
Object propertyValue) |
afterWriteChildren, beforeCloseNoChild, beforeWriteChildren, handleReadAttributes, handleReadChildNodes, handleReadNode, handleWriteNode, injectIntoProperty, read, readPersistantObject, write, write
protected void handleReadAttr(A addon, Node node, Node attr) throws XMLMConfigurationException
handleReadAttr
in class RichXMLFactory.GenericAddon<A extends IAddon>
XMLMConfigurationException
protected boolean isWriteAsAttribute(PersistantPropertyInfo property, Object propertyValue) throws XMLMConfigurationException, MRuleInternalException
RichXMLFactory.GenericAddon
isWriteAsAttribute
in class RichXMLFactory.GenericAddon<A extends IAddon>
property
- property info. might be null.propertyValue
- corresponding property value. might be null.XMLMConfigurationException
MRuleInternalException
RichXMLFactory.GenericAddon.isWriteAsNode(PersistantPropertyInfo, Object)
protected boolean isWriteAsNode(PersistantPropertyInfo property, Object propertyValue) throws XMLMConfigurationException, MRuleInternalException
RichXMLFactory.GenericAddon
isWriteAsNode
in class RichXMLFactory.GenericAddon<A extends IAddon>
property
- property info. might be null.propertyValue
- corresponding property value. might be null.XMLMConfigurationException
MRuleInternalException
RichXMLFactory.GenericAddon.isWriteAsAttribute(PersistantPropertyInfo, Object)
protected void handleWriteAttribute(Outer os, A addon, PersistantPropertyInfo property, Object propertyValue, String defaultValue) throws XMLMConfigurationException, IOException
handleWriteAttribute
in class RichXMLFactory.GenericAddon<A extends IAddon>
XMLMConfigurationException
IOException
public void writePersistantObject(Outer os, String property, Object propertyValue) throws XMLMConfigurationException, IOException
writePersistantObject
in class RichXMLFactory.GenericAddon<A extends IAddon>
XMLMConfigurationException
IOException
public String getImplementationId()
RichXMLFactory.GenericAddon
getImplementationId
in interface RichXMLFactory.RichSubFactory<A extends IAddon>
getImplementationId
in class RichXMLFactory.GenericAddon<A extends IAddon>