Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.merlotxml.merlot.plugin.dtd
Class ActionConfig  view ActionConfig download ActionConfig.java

java.lang.Object
  extended byorg.merlotxml.merlot.plugin.dtd.ActionConfig

class ActionConfig
extends java.lang.Object

GenDiapo Pluggable Action Configuration

Version:
$Id: ActionConfig.java,v 1.4 2002/03/22 15:29:58 flament Exp $

Field Summary
protected  DTDPluginAction action
           
protected  java.lang.Class actionClass
           
protected  java.lang.ClassLoader classLoader
           
protected  java.util.List elements
           
protected static java.lang.String XPATH_ACCELERATOR
           
protected static java.lang.String XPATH_CLASS
           
protected static java.lang.String XPATH_ELEMENT
           
protected static java.lang.String XPATH_ICON
           
protected static java.lang.String XPATH_NAME
           
protected static java.lang.String XPATH_TEXT
           
protected static java.lang.String XPATH_TOOLTIP
           
 
Constructor Summary
ActionConfig(java.lang.ClassLoader classLoader)
           
 
Method Summary
 boolean contains(java.lang.String elementName)
           
 DTDPluginAction getAction(org.merlotxml.merlot.MerlotDocumentControler controler, org.merlotxml.merlot.MerlotDOMNode node)
           
 void parse(org.w3c.dom.Node node)
           
private  byte[] readAllBytes(java.io.InputStream is)
           
 void setActionContext(DTDPluginAction action, org.merlotxml.merlot.MerlotDOMNode node)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XPATH_TEXT

protected static final java.lang.String XPATH_TEXT
See Also:
Constant Field Values

XPATH_CLASS

protected static final java.lang.String XPATH_CLASS
See Also:
Constant Field Values

XPATH_ELEMENT

protected static final java.lang.String XPATH_ELEMENT
See Also:
Constant Field Values

XPATH_ICON

protected static final java.lang.String XPATH_ICON
See Also:
Constant Field Values

XPATH_NAME

protected static final java.lang.String XPATH_NAME
See Also:
Constant Field Values

XPATH_ACCELERATOR

protected static final java.lang.String XPATH_ACCELERATOR
See Also:
Constant Field Values

XPATH_TOOLTIP

protected static final java.lang.String XPATH_TOOLTIP
See Also:
Constant Field Values

classLoader

protected java.lang.ClassLoader classLoader

actionClass

protected java.lang.Class actionClass

action

protected DTDPluginAction action

elements

protected java.util.List elements
Constructor Detail

ActionConfig

public ActionConfig(java.lang.ClassLoader classLoader)
Method Detail

readAllBytes

private byte[] readAllBytes(java.io.InputStream is)
                     throws java.io.IOException

parse

public void parse(org.w3c.dom.Node node)
           throws org.xml.sax.SAXException,
                  java.lang.ClassNotFoundException

getAction

public DTDPluginAction getAction(org.merlotxml.merlot.MerlotDocumentControler controler,
                                 org.merlotxml.merlot.MerlotDOMNode node)

contains

public boolean contains(java.lang.String elementName)

setActionContext

public void setActionContext(DTDPluginAction action,
                             org.merlotxml.merlot.MerlotDOMNode node)

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).