scriptella.configuration
Class ScriptingElement

java.lang.Object
  extended by scriptella.configuration.XmlConfigurableBase
      extended by scriptella.configuration.ScriptingElement
All Implemented Interfaces:
XmlConfigurable
Direct Known Subclasses:
QueryEl, ScriptEl

public abstract class ScriptingElement
extends XmlConfigurableBase

Base class for queries and scripts.

Version:
1.0
Author:
Fyodor Kupolov

Constructor Summary
protected ScriptingElement(ScriptingElement parent)
           
 
Method Summary
 void configure(XmlElement element)
          Configures the class using specified XML element.
 java.lang.String getConnectionId()
           
 Resource getContent()
           
 ContentEl getDialectContent(DialectIdentifier id)
           
 java.lang.String getIf()
           
 Location getLocation()
           
 ScriptingElement getParent()
           
 void setConnectionId(java.lang.String connectionId)
           
 void setIf(java.lang.String ifExpr)
           
 java.lang.String toString()
           
 
Methods inherited from class scriptella.configuration.XmlConfigurableBase
assertRequiredFieldPresent, assertRequiredFieldPresent, findGetter, findSetter, load, loadClass, setLocation, setLocation, setPatternProperty, setPatternProperty, setProperty, setProperty, setRequiredProperty, setRequiredProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScriptingElement

protected ScriptingElement(ScriptingElement parent)
Method Detail

getConnectionId

public java.lang.String getConnectionId()

setConnectionId

public void setConnectionId(java.lang.String connectionId)

getLocation

public Location getLocation()
Overrides:
getLocation in class XmlConfigurableBase

getIf

public java.lang.String getIf()

setIf

public void setIf(java.lang.String ifExpr)

getContent

public Resource getContent()

getDialectContent

public ContentEl getDialectContent(DialectIdentifier id)

getParent

public ScriptingElement getParent()

configure

public void configure(XmlElement element)
Description copied from interface: XmlConfigurable
Configures the class using specified XML element.

Parameters:
element - XML element.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © Copyright 2006-2009 The Scriptella Project Team.