com.uwyn.rife.engine
Class ElementInfo

java.lang.Object
  extended by com.uwyn.rife.engine.ElementInfo
All Implemented Interfaces:
Cloneable

public class ElementInfo
extends Object
implements Cloneable


Field Summary
static boolean DEFAULT_BOOLEAN
           
static double DEFAULT_DOUBLE
           
static float DEFAULT_FLOAT
           
static int DEFAULT_INTEGER
           
static long DEFAULT_LONG
           
 
Method Summary
 ElementInfo clone()
           
 boolean containsChildTrigger(String name)
           
 boolean containsExit(String name)
           
 boolean containsGlobalCookie(String name)
           
 boolean containsGlobalExit(String name)
           
 boolean containsGlobalVar(String name)
           
 boolean containsIncookie(String name)
           
 boolean containsIncookiePossibility(String name)
           
 boolean containsInput(String name)
           
 boolean containsInputPossibility(String name)
           
 boolean containsNamedGlobalBean(String name)
           
 boolean containsNamedInbean(String name)
           
 boolean containsNamedOutbean(String name)
           
 boolean containsOutcookie(String name)
           
 boolean containsOutcookiePossibility(String name)
           
 boolean containsOutput(String name)
           
 boolean containsOutputPossibility(String name)
           
 boolean containsProperty(String name)
           
 boolean containsSubmission(String name)
           
 String getAbsoluteUrl(Element currentElement)
           
 Collection<String> getChildTriggerNames()
           
 String getContentType()
           
 String getDeclarationName()
           
 LinkedHashMap<String,String> getDefaultGlobalCookies()
           
 LinkedHashMap<String,String> getDefaultIncookies()
           
 LinkedHashMap<String,String> getDefaultOutcookies()
           
 ElementDeployer getDeployer()
           
 Set<Map.Entry<String,FlowLink>> getExitEntries()
           
 Collection<String> getExitNames()
           
 FlowLink getFlowLink(String name)
           
 String getGlobalCookieDefaultValue(String name)
           
 Set<Map.Entry<String,String>> getGlobalCookieEntries()
           
 String getGlobalCookieInfo(String name)
           
 Collection<String> getGlobalCookieNames()
           
 Set<Map.Entry<String,GlobalExit>> getGlobalExitEntries()
           
 GlobalExit getGlobalExitInfo(String name)
           
 Collection<String> getGlobalExitNames()
           
 String[] getGlobalVarDefaultValues(String name)
           
 Set<Map.Entry<String,GlobalVar>> getGlobalVarEntries()
           
 GlobalVar getGlobalVarInfo(String name)
           
 Collection<String> getGlobalVarNames()
           
 int getGroupId()
           
 String getId()
           
 String getImplementation()
           
 Element getImplementationBlueprint()
           
 String getIncookieDefaultValue(String name)
           
 Collection<String> getIncookieNames()
           
 Stack<ElementInfo> getInheritanceStack()
           
 Collection<String> getInjectablePropertyNames()
           
 String[] getInputDefaultValues(String name)
           
 Collection<String> getInputNames()
           
 BeanDeclaration getNamedGlobalBeanInfo(String name)
           
 Collection<String> getNamedGlobalBeanNames()
           
 BeanDeclaration getNamedInbeanInfo(String name)
           
 Collection<String> getNamedInbeanNames()
           
 BeanDeclaration getNamedOutbeanInfo(String name)
           
 Collection<String> getNamedOutbeanNames()
           
 String getOutcookieDefaultValue(String name)
           
 Set<Map.Entry<String,String>> getOutcookieEntries()
           
 Collection<String> getOutcookieNames()
           
 String[] getOutputDefaultValues(String name)
           
 Set<Map.Entry<String,String[]>> getOutputEntries()
           
 Collection<String> getOutputNames()
           
 String[] getParameterDefaultValues(String submissionName, String parameterName)
           
 List<PathInfoMapping> getPathInfoMappings()
           
 PathInfoMode getPathInfoMode()
           
 Stack<ElementInfo> getPrecedenceStack()
           
 String getProcessorIdentifier()
           
 HierarchicalProperties getProperties()
           
 Object getProperty(String name)
           
 Object getProperty(String name, Object defaultValue)
           
 Collection<String> getPropertyNames()
           
 String getPropertyString(String name)
           
 String getPropertyString(String name, String defaultValue)
           
<T> T
getPropertyTyped(String name, Class<T> type)
           
<T> T
getPropertyTyped(String name, Class<T> type, T defaultValue)
           
 String getReferenceId()
           
 Site getSite()
           
 Submission getSubmission(String name)
           
 Collection<String> getSubmissionNames()
           
 Collection<Submission> getSubmissions()
           
 ElementType getType()
           
 String getUrl()
           
 boolean hasDataLink(ElementInfo target)
           
 boolean hasFlowLink(ElementInfo target)
           
 boolean hasGlobalCookieDefaults()
           
 boolean hasGlobalCookieDefaultValue(String name)
           
 boolean hasGlobalcookies()
           
 boolean hasGlobalCookies()
           
 boolean hasGlobalExits()
           
 boolean hasGlobalVarDefaults()
           
 boolean hasGlobalVarDefaultValues(String name)
           
 boolean hasGlobalVars()
           
 boolean hasIncookieDefaults()
           
 boolean hasIncookieDefaultValue(String name)
           
 boolean hasIncookies()
           
 boolean hasInputDefaults()
           
 boolean hasInputDefaultValues(String name)
           
 boolean hasInputs()
           
 boolean hasNamedGlobalBeans()
           
 boolean hasNamedInbeans()
           
 boolean hasOutcookieDefaults()
           
 boolean hasOutcookieDefaultValue(String name)
           
 boolean hasOutcookies()
           
 boolean hasOutputDefaults()
           
 boolean hasOutputDefaultValues(String name)
           
 boolean hasParameterDefaults(String name)
           
 boolean hasParameterDefaultValues(String submissionName, String parameterName)
           
 boolean hasPathInfoMappings()
           
 boolean hasProperties()
           
 boolean hasSnapbackDataLinks()
           
 boolean hasSnapbackFlowLinks()
           
 boolean hasSubmission(String name)
           
 boolean isPathInfoUsed()
           
 boolean isPropertyEmpty(String name)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_BOOLEAN

public static final boolean DEFAULT_BOOLEAN
See Also:
Constant Field Values

DEFAULT_INTEGER

public static final int DEFAULT_INTEGER
See Also:
Constant Field Values

DEFAULT_LONG

public static final long DEFAULT_LONG
See Also:
Constant Field Values

DEFAULT_DOUBLE

public static final double DEFAULT_DOUBLE
See Also:
Constant Field Values

DEFAULT_FLOAT

public static final float DEFAULT_FLOAT
See Also:
Constant Field Values
Method Detail

getSite

public Site getSite()

getProcessorIdentifier

public String getProcessorIdentifier()

getGroupId

public int getGroupId()

getInheritanceStack

public Stack<ElementInfo> getInheritanceStack()

getPrecedenceStack

public Stack<ElementInfo> getPrecedenceStack()

getGlobalExitNames

public Collection<String> getGlobalExitNames()

getGlobalVarNames

public Collection<String> getGlobalVarNames()

getGlobalCookieNames

public Collection<String> getGlobalCookieNames()

getNamedGlobalBeanNames

public Collection<String> getNamedGlobalBeanNames()

hasGlobalExits

public boolean hasGlobalExits()

hasGlobalVars

public boolean hasGlobalVars()

hasGlobalCookies

public boolean hasGlobalCookies()

hasNamedGlobalBeans

public boolean hasNamedGlobalBeans()

containsGlobalExit

public boolean containsGlobalExit(String name)

containsGlobalVar

public boolean containsGlobalVar(String name)

containsGlobalCookie

public boolean containsGlobalCookie(String name)

containsNamedGlobalBean

public boolean containsNamedGlobalBean(String name)

getGlobalExitInfo

public GlobalExit getGlobalExitInfo(String name)

getGlobalVarInfo

public GlobalVar getGlobalVarInfo(String name)

getGlobalCookieInfo

public String getGlobalCookieInfo(String name)

getNamedGlobalBeanInfo

public BeanDeclaration getNamedGlobalBeanInfo(String name)

getDeclarationName

public String getDeclarationName()

getImplementation

public String getImplementation()

getImplementationBlueprint

public Element getImplementationBlueprint()

getAbsoluteUrl

public String getAbsoluteUrl(Element currentElement)

getUrl

public String getUrl()

getId

public String getId()

getReferenceId

public String getReferenceId()

isPathInfoUsed

public boolean isPathInfoUsed()

getPathInfoMode

public PathInfoMode getPathInfoMode()

getPathInfoMappings

public List<PathInfoMapping> getPathInfoMappings()

hasPathInfoMappings

public boolean hasPathInfoMappings()

getContentType

public String getContentType()

getType

public ElementType getType()

getProperties

public HierarchicalProperties getProperties()

getPropertyNames

public Collection<String> getPropertyNames()

getInjectablePropertyNames

public Collection<String> getInjectablePropertyNames()

getInputNames

public Collection<String> getInputNames()

getOutputNames

public Collection<String> getOutputNames()

getGlobalExitEntries

public Set<Map.Entry<String,GlobalExit>> getGlobalExitEntries()

getGlobalVarEntries

public Set<Map.Entry<String,GlobalVar>> getGlobalVarEntries()

getOutputEntries

public Set<Map.Entry<String,String[]>> getOutputEntries()

getIncookieNames

public Collection<String> getIncookieNames()

getOutcookieNames

public Collection<String> getOutcookieNames()

getGlobalCookieEntries

public Set<Map.Entry<String,String>> getGlobalCookieEntries()

getOutcookieEntries

public Set<Map.Entry<String,String>> getOutcookieEntries()

hasIncookies

public boolean hasIncookies()

hasGlobalcookies

public boolean hasGlobalcookies()

hasOutcookies

public boolean hasOutcookies()

hasNamedInbeans

public boolean hasNamedInbeans()

getNamedInbeanNames

public Collection<String> getNamedInbeanNames()

getNamedOutbeanNames

public Collection<String> getNamedOutbeanNames()

getNamedInbeanInfo

public BeanDeclaration getNamedInbeanInfo(String name)
                                   throws EngineException
Throws:
EngineException

getNamedOutbeanInfo

public BeanDeclaration getNamedOutbeanInfo(String name)
                                    throws EngineException
Throws:
EngineException

getChildTriggerNames

public Collection<String> getChildTriggerNames()

getExitNames

public Collection<String> getExitNames()

hasProperties

public boolean hasProperties()

getProperty

public Object getProperty(String name)

getProperty

public Object getProperty(String name,
                          Object defaultValue)

getPropertyTyped

public <T> T getPropertyTyped(String name,
                              Class<T> type)

getPropertyTyped

public <T> T getPropertyTyped(String name,
                              Class<T> type,
                              T defaultValue)

getPropertyString

public String getPropertyString(String name)

getPropertyString

public String getPropertyString(String name,
                                String defaultValue)

isPropertyEmpty

public boolean isPropertyEmpty(String name)
                        throws EngineException
Throws:
EngineException

getSubmission

public Submission getSubmission(String name)

getGlobalVarDefaultValues

public String[] getGlobalVarDefaultValues(String name)

getInputDefaultValues

public String[] getInputDefaultValues(String name)

getOutputDefaultValues

public String[] getOutputDefaultValues(String name)

getIncookieDefaultValue

public String getIncookieDefaultValue(String name)

getGlobalCookieDefaultValue

public String getGlobalCookieDefaultValue(String name)

getOutcookieDefaultValue

public String getOutcookieDefaultValue(String name)

getDefaultIncookies

public LinkedHashMap<String,String> getDefaultIncookies()

getDefaultOutcookies

public LinkedHashMap<String,String> getDefaultOutcookies()

getDefaultGlobalCookies

public LinkedHashMap<String,String> getDefaultGlobalCookies()

getParameterDefaultValues

public String[] getParameterDefaultValues(String submissionName,
                                          String parameterName)

getExitEntries

public Set<Map.Entry<String,FlowLink>> getExitEntries()

getSubmissionNames

public Collection<String> getSubmissionNames()

getSubmissions

public Collection<Submission> getSubmissions()

getFlowLink

public FlowLink getFlowLink(String name)

containsProperty

public boolean containsProperty(String name)

containsInput

public boolean containsInput(String name)

containsInputPossibility

public boolean containsInputPossibility(String name)

containsOutput

public boolean containsOutput(String name)

containsOutputPossibility

public boolean containsOutputPossibility(String name)

containsIncookie

public boolean containsIncookie(String name)

containsIncookiePossibility

public boolean containsIncookiePossibility(String name)

containsOutcookie

public boolean containsOutcookie(String name)

containsOutcookiePossibility

public boolean containsOutcookiePossibility(String name)

containsNamedInbean

public boolean containsNamedInbean(String name)

containsNamedOutbean

public boolean containsNamedOutbean(String name)

containsChildTrigger

public boolean containsChildTrigger(String name)

containsExit

public boolean containsExit(String name)

containsSubmission

public boolean containsSubmission(String name)

hasSubmission

public boolean hasSubmission(String name)

hasGlobalVarDefaults

public boolean hasGlobalVarDefaults()

hasGlobalCookieDefaults

public boolean hasGlobalCookieDefaults()

hasInputDefaults

public boolean hasInputDefaults()

hasOutputDefaults

public boolean hasOutputDefaults()

hasIncookieDefaults

public boolean hasIncookieDefaults()

hasOutcookieDefaults

public boolean hasOutcookieDefaults()

hasParameterDefaults

public boolean hasParameterDefaults(String name)

hasGlobalVarDefaultValues

public boolean hasGlobalVarDefaultValues(String name)

hasGlobalCookieDefaultValue

public boolean hasGlobalCookieDefaultValue(String name)

hasInputs

public boolean hasInputs()

hasInputDefaultValues

public boolean hasInputDefaultValues(String name)

hasOutputDefaultValues

public boolean hasOutputDefaultValues(String name)

hasIncookieDefaultValue

public boolean hasIncookieDefaultValue(String name)

hasOutcookieDefaultValue

public boolean hasOutcookieDefaultValue(String name)

hasParameterDefaultValues

public boolean hasParameterDefaultValues(String submissionName,
                                         String parameterName)

hasDataLink

public boolean hasDataLink(ElementInfo target)

hasSnapbackDataLinks

public boolean hasSnapbackDataLinks()

hasFlowLink

public boolean hasFlowLink(ElementInfo target)

hasSnapbackFlowLinks

public boolean hasSnapbackFlowLinks()

getDeployer

public ElementDeployer getDeployer()

clone

public ElementInfo clone()
Overrides:
clone in class Object


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.