com.dfki.peregrin.site.template
Class RunParameter
java.lang.Object
|
+--com.dfki.peregrin.site.template.RunParameter
- public class RunParameter
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RunParameter
public RunParameter(int d)
RunParameter
public RunParameter()
RunParameter
public RunParameter(RunParameter rp)
RunParameter
public RunParameter(RunParameter rp,
SiteNode n)
RunParameter
public RunParameter(SiteNode n)
reUse
public void reUse(SiteNode n)
reUse
public void reUse(RunParameter rp)
servlet
public SiteServlet servlet()
setServlet
public void setServlet(SiteServlet s)
searchString
public java.lang.String searchString()
setSearchString
public void setSearchString(java.lang.String s)
setDepth
public void setDepth(int d)
increaseDepth
public void increaseDepth()
decreaseDepth
public void decreaseDepth()
depth
public int depth()
bare
public void bare(boolean b)
isbare
public boolean isbare()
html
public void html(boolean h)
ishtml
public boolean ishtml()
node
public SiteNode node()
setNode
public void setNode(SiteNode n)
primordialNode
public SiteNode primordialNode()
setPrimordialNode
public void setPrimordialNode(SiteNode n)
setRoot
public void setRoot(SiteNode s)
root
public SiteNode root()
parentRunParameter
public RunParameter parentRunParameter()
setParentRunParameter
public void setParentRunParameter(RunParameter parent)
calculatePath
public java.lang.String calculatePath()
calculatePath
public java.lang.String calculatePath(boolean encoded)
setAdded
public void setAdded(int a)
added
public int added()
partitionCounter
public int partitionCounter()
setPartitionCounter
public void setPartitionCounter(int c)
decreasePartitionCounter
public void decreasePartitionCounter()
partitionCounterBase
public int partitionCounterBase()
setPartitionCounterBase
public void setPartitionCounterBase(int c)
setBook
public void setBook(Book b)
book
public Book book()
setTopLevelBook
public void setTopLevelBook(Book b)
topLevelBook
public Book topLevelBook()
setTopLevelRegister
public void setTopLevelRegister(Register r)
topLevelRegister
public Register topLevelRegister()
addToGlobalRegister
public void addToGlobalRegister(java.util.Vector v)
currentPage
public Page currentPage()
scrollToPage
public void scrollToPage(Page p)
setTemplateName
public void setTemplateName(java.lang.String n)
templateName
public java.lang.String templateName()
existsInPath
public boolean existsInPath(SiteNode sn)
replaceVariables
public java.lang.String replaceVariables(java.lang.String string)
replaceVariables
public java.lang.String replaceVariables(java.lang.String string,
RunParameter evalparam)
attributesAsInString
public boolean attributesAsInString(java.lang.String attrstring)
- valid attribute-value pairs list:
new version:
attlist ::= '[' pair {pair}* ']'
pair ::= '%(' str '=' val '%)'
val ::= wstr | '(' wstr {',' wstr}* ')'
str ::= string
wstr ::= string containing wildcards
e.g. [%(firstname=(john,mary)%)%(lastname=smith%)%(birthyear=(193*,194*)%)]
old version:
attlist ::= '[' pair {',' pair}* ']'
pair ::= str '=' val
val ::= wstr | '(' wstr {',' wstr}* ')'
str ::= string
wstr ::= string containing wildcards
e.g. [firstname=(john,mary),lastname=smith,birthyear=(193*,194*)]
matchWildCards
public boolean matchWildCards(java.lang.String wstr,
java.lang.String str)
stringForAllAttributes
public java.lang.String stringForAllAttributes()
stringForOneAttribute
public java.lang.String stringForOneAttribute(NodeAttribute attr)
setStorage
public void setStorage(java.util.Vector s)
storage
public java.util.Vector storage()
storageSize
public int storageSize()
increaseStorageCounter
public void increaseStorageCounter(int c)
setSplitStorageCounter
public void setSplitStorageCounter(int c)
- Set storage counter relative to n-th block.
splitStorageCounter
public int splitStorageCounter()
setStorageCounter
public void setStorageCounter(int c)
- set storage counter absolutely
storageCounter
public int storageCounter()
setSplitIndex
public void setSplitIndex(int i)
- set counter to i-th split block
increaseSplitIndex
public void increaseSplitIndex()
splitIndex
public int splitIndex()
setSplitSize
public void setSplitSize(int s)
blockSize
public int blockSize()
splitSize
public int splitSize()
splitStart
public int splitStart()
queryVariables
public VariableTable queryVariables()
setQueryVariables
public void setQueryVariables(VariableTable v)
addedAttributes
public StringKeyTable addedAttributes()
addAttributes
public void addAttributes(StringKeyTable v)