org.eclipse.actf.validation.doc.rulebase
Class ScriptElement

java.lang.Object
  extended by org.eclipse.actf.validation.doc.rulebase.BaseElement
      extended by org.eclipse.actf.validation.doc.rulebase.ScriptElement

public class ScriptElement
extends BaseElement

represents a <raven:script> element in a document.A script element can contain either text content (which is the script code itself) or an 'src' attribute pointing to another script file.

Author:
Mike Squillace

Field Summary
 
Fields inherited from class org.eclipse.actf.validation.doc.rulebase.BaseElement
name, text
 
Constructor Summary
ScriptElement(String name, String text, String srcFile, String imports)
           
 
Method Summary
 String getImports()
           
 String getSourceFile()
           
 
Methods inherited from class org.eclipse.actf.validation.doc.rulebase.BaseElement
getName, getText, getTextTrim
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptElement

public ScriptElement(String name,
                     String text,
                     String srcFile,
                     String imports)
Method Detail

getSourceFile

public String getSourceFile()

getImports

public String getImports()