OverviewSingleDeprecatedPropertiesEventsXSL Parameters

jsx3.xml

class CDFSchema

Object
->jsx3.lang.Object
  ->jsx3.app.Model
    ->jsx3.xml.CDFSchema

All Implemented Interfaces:

jsx3.util.EventDispatcher

class CDFSchema
extends jsx3.app.Model
The CDF data schema. This class instructs CDF controls how to extract data from their CDF data sources.

CDF is a flexible nested XML data structure. The default CDF schema looks like:
<data jsxid="jsxroot">
  <record jsxid="id1" jsxtext="label1" .../>
  ...
</data>
The required aspects of CDF are: Other aspects of the schema are flexible so that you could have CDF that looks like:
<items id="jsxroot">
  <item id="id1" label="label1" .../>
  ...
</items>
This schema is achieved by an instance of this class with the following properties: children = "item", id = "id" and text = "label".

Since:

3.9

See Also:

jsx3.xml.CDF.setSchema()

Method Summary
String
getProp(name : String)
Returns a property of this schema or the default property value.
Object<String, String>
Returns all the set properties of this schema.
void
setProp(name : String, value : String)
Sets or clears a property of this schema.
Methods Inherited From jsx3.app.Model
adoptChild, assembleFromXML, doClone, findAncestor, findDescendants, getAncestorOfName, getAncestorOfType, getChild, getChildIndex, getChildren, getDescendantOfName, getDescendantsOfType, getDynamicProperty, getFirstChild, getFirstChildOfType, getHelpId, getId, getLastChild, getLoadType, getMetaValue, getNS, getName, getNextSibling, getParent, getPersistence, getPreviousSibling, getServer, getUriResolver, insertBefore, load, loadAndCache, loadXML, onAfterAssemble, onAfterAttach, onBeforeAssemble, onChangeServer, onChildAdded, onDestroy, onRemoveChild, onSetChild, onSetParent, removeChild, removeChildren, selectDescendants, setChild, setDynamicProperty, setHelpId, setLoadType, setMetaValue, setName, setPersistence, toString, toXML, toXMLDoc, toXMLElm
Methods Inherited From jsx3.util.EventDispatcher
publish, subscribe, unsubscribe, unsubscribeAll
Methods Inherited From jsx3.lang.Object
clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf
Method Detail

getProp

String getProp(name : String)
Returns a property of this schema or the default property value.

Parameters:

namethe property key.

Returns:

the set property value or the default value.  

getProps

Object<String, String> getProps()
Returns all the set properties of this schema.

Returns:

 

setProp

void setProp(name : String, value : String)
Sets or clears a property of this schema. The relevant values for name depend on the subclass of jsx3.xml.CDF that this schema will apply to. The following properties apply in most cases: Others include selected, unselectable, divider, disabled, keycode and open.

Parameters:

name
value