Assemble all content, all types in the order they have been spesified
We are only interested in imports that have noe URI, that is they are
part of the structure as given in the script
Try to calculate the absolute URI based on the
given location and the anchor address held by this units owning group
The construction of an absolute URI is necessary for a unit
to be reckognized and used.
Get some data from the node in the script that defines this group:
Attributes:
the location that serves as anchor for this group of pages
name
Siblings:
templates, transformations, properties, options, addressing
Children:
description, common, templates, transformations, properties,
options, addressing, execCommands
Pick up data from script
Attributes:
name
location
templateid
transformationid
Children:
description
content
textcontent
dbcontent
thumb
properties
options
domer has only static methods and serve as a library
for utilities that load, save, validates and transform DOMs
makeDomFromString
makeDomFromUri
makeTransformedDomFromUri
saveDom
saveTransformedDom
stringFromDom
stringFromTransformedDom
ValidateString
Decides if two content files may be reused as DOM
The condition is that they have same absolute URI,
the same transformation (if any)
and the same transformation parameters (if any)
Pages that should be built in the second phase of a build process
because they contain elements that are depending on established
content in other pages
Produce a menu toc, typically left column toc
Following are optional parameters in command:
cols: number of columns, default 1
left: string to the left of each entry, default is the empty string
right: string to the right of each entry, default is the empty string
divider: string between each entry, default is the empty string
Find a list of pages based on a string naming those pages
An alternative to picking pages by an xpath on the script,
See scripthandler::makePagelistByXPath
Make a toc for this page
This function does not exercise any intelligent as to where
in the logical (as seen from the author) structure of the page
the toc is based.
Make a call to a javascript which pops a page in a separate window
Relies on the existance of a javascript
Expect to find in command parameter:
uri: name of the file to show
text: the text in the reference
style: the style to set for the fragment
image: alternative to text
popname: the name of the window that pops
Only file is mandatory
Produce a simple toc, children or siblings
Following are optional parameters in command:
cols: number of columns, default 0
left: string to the left of each entry, default is "["
right: string to the right of each entry, default is "]"
divider: string between each entry, default the empty string
Produce a total toc for the entire group
Following are optional parameters in command:
cols: number of columns, default 1
left: string to the left of each entry, default is the empty string
right: string to the right of each entry, default is the empty string
divider: string between each entry, default is the empty string
lo: lowest pagelevel to take into account, default is 1
hi: highest pagelevel to take into account, default is highest level defined
Produce a trail, that is references to all ancestors and home
Following are optional parameters in command:
cols: number of columns, default 0
left: string to the left of each entry, default is the empty string
right: string to the right of each entry, default is the empty string
divider: string between each entry, default is ">"
Parse for name-value pairs in a string
and return them in a HashMap
Expected input variants:
(name1='value1',name2='value2')
name1='value1',name2='value2'
name1='value1' name2='value2'
name1="value1" name2="value2"
Tell the reporter to set a new file to accumulate log
Value set is either null, or taken from optionmap
Tell accessutils-library which date we have to day