public class IlvPersistentSDMModelXMLConnector extends IlvXMLConnector
IlvPersistentSDMNodeFactory
to re-create nodes.LOOSE_FORMAT, STRICT_FORMAT
Constructor and Description |
---|
IlvPersistentSDMModelXMLConnector(IlvPersistentSDMNodeFactory persistentNodeFactory)
Creates a new
IlvPersistentSDMModelXMLConnector instance. |
Modifier and Type | Method and Description |
---|---|
protected Object |
createNode(String tag)
Creates the node through
IlvPersistentSDMNodeFactory.newSymbol(String)
Creates a new node in the SDM data model. |
protected void |
setProperty(Object object,
String name,
Object value)
Checks
IlvPersistentSDMNodeFactory.isPropertyIgnored(ilog.views.sdm.IlvSDMModel, Object, String) before
setting the property on the node. |
addForwardRef, addObject, buildDOM, createLink, getEngine, getMetadata, getModel, getOutputFormat, getParent, getPublicDTDId, getRootElementTag, getSystemDTDId, initParser, initXMLReader, isCheckingRootElementTag, isIncremental, isSavingDTD, isSavingPropertyTypes, isValidating, parse, parse, parseProcessingInstruction, readDOM, readXML, readXML, readXML, resolveForwardRefs, setCheckingRootElementTag, setEngine, setFrom, setFrom, setID, setIncremental, setMetadata, setOutputFormat, setParent, setPublicDTDId, setRootElementTag, setSavingDTD, setSavingPropertyTypes, setSystemDTDId, setTo, setTo, setValidating, writeDOM, writeXML, writeXML
public IlvPersistentSDMModelXMLConnector(IlvPersistentSDMNodeFactory persistentNodeFactory)
IlvPersistentSDMModelXMLConnector
instance.persistentNodeFactory
- protected Object createNode(String tag)
IlvPersistentSDMNodeFactory.newSymbol(String)
Creates a new node in the SDM data model.createNode
in class IlvXMLConnector
tag
- The tag of the new node.IlvXMLConnector.createNode(java.lang.String)
protected void setProperty(Object object, String name, Object value)
IlvPersistentSDMNodeFactory.isPropertyIgnored(ilog.views.sdm.IlvSDMModel, Object, String)
before
setting the property on the node.
Sets a property of an object.
Note: This method is used at read time to set the model objects properties. Override it if you need to make additional computations linking property values with external data.
setProperty
in class IlvXMLConnector
object
- The data object.name
- The property name.value
- The property value.IlvXMLConnector.setProperty(java.lang.Object, java.lang.String, java.lang.Object)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.