OverviewSingleDeprecatedPropertiesEventsXSL Parameters

jsx3.amp

class ExtPoint

Object
->jsx3.lang.Object
  ->jsx3.amp.ExtPoint

All Implemented Interfaces:

jsx3.util.EventDispatcher

class ExtPoint
extends jsx3.lang.Object
An AMP extension point.

Field Summary
static String
EXTENDED
An event published by an extension point when it is extended by a new extension.
Method Summary
jsx3.amp.Engine
Returns the engine owning the plug-in owning this extension point.
jsx3.$Array<jsx3.amp.Ext>
Returns the list of extensions registered with this extension point.
String
Returns the full ID of this extension, which is unique among all extension points in the AMP engine.
String
Returns the local ID of this extension point, which is defined by the id attribute of the XML extension point declaration.
String
Returns the name of this extension point, which is defined by the name attribute of the XML extension point declaration.
jsx3.amp.PlugIn
Returns the plug-in declaring this extension point.
void
This method is called (after this extension point is instantiated) any time extensions are registered for this point.
jsx3.$Array<Object>
processExts(objProcessor : jsx3.amp.ExtProc | Function, arrExt : Array<jsx3.amp.Ext>)
Processes each extension of this extension point using the visitor pattern.
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, toString
Field Detail

EXTENDED

static String EXTENDED
An event published by an extension point when it is extended by a new extension.
Method Detail

getEngine

jsx3.amp.Engine getEngine()
Returns the engine owning the plug-in owning this extension point.

Returns:

 

getExts

jsx3.$Array<jsx3.amp.Ext> getExts()
Returns the list of extensions registered with this extension point.

Returns:

 

getId

String getId()
Returns the full ID of this extension, which is unique among all extension points in the AMP engine.

Returns:

 

getLocalId

String getLocalId()
Returns the local ID of this extension point, which is defined by the id attribute of the XML extension point declaration.

Returns:

 

getName

String getName()
Returns the name of this extension point, which is defined by the name attribute of the XML extension point declaration.

Returns:

 

getPlugIn

jsx3.amp.PlugIn getPlugIn()
Returns the plug-in declaring this extension point.

Returns:

 

onExtension

void onExtension(arrExts : jsx3.$Array<jsx3.amp.Ext>)
This method is called (after this extension point is instantiated) any time extensions are registered for this point. Subclasses may override this method to perform custom functionality but should call jsxsuper().

Parameters:

arrExts

processExts

jsx3.$Array<Object> processExts(objProcessor : jsx3.amp.ExtProc | Function, arrExt : Array<jsx3.amp.Ext>)
Processes each extension of this extension point using the visitor pattern.

Parameters:

objProcessorthe visitor. This argument may be null if the XML declaration of this extension point specifies a processor that can be constructed with the processor factory.
arrExtoptionally, a subset of the extensions of this extension point. Only these extensions will be processed if this parameter is not empty.

Returns:

the extensions to process, defaults to all the extensions of this extension point. 

See Also:

jsx3.amp.ExtProc.process(), jsx3.amp.ExtProc.getProcessor()