DimDom v0.8.2
A B C D E F G H I M O P R S T V W X

A

AbstractXHTMLDocument - class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument.
Title: AbstractXHTMLDocument
Description: This class wraps the necessary functionality around the "logic" that is implemented in the DimDom engine, reference implementation.
AbstractXHTMLDocument.RepeatedElement - class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument.RepeatedElement.
This simple class stored the template information on a repeated element, i.e.
AbstractXHTMLDocument.RepeatedElement(AbstractXHTMLDocument, Node, String) - Constructor for class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument.RepeatedElement
Stores the underlying, repeated node pointer and calls the CommandParser to find out how many repetitions may be maximally made on this node.
AbstractXHTMLDocument() - Constructor for class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
 
AbstractXHTMLServlet - class org.alltimeflashdreamer.dimdom.websitetester.AbstractXHTMLServlet.
Title: AbstractXHTMLServlet
Description: This servlet is the superclass of each Website Tester servlet.
AbstractXHTMLServlet() - Constructor for class org.alltimeflashdreamer.dimdom.websitetester.AbstractXHTMLServlet
 
AbstractXHTMLSiteData - class org.alltimeflashdreamer.dimdom.AbstractXHTMLSiteData.
Title: AbstractXHTMLSiteData
Description: This is the superclass of each DOM processor using DimDom's own processing mechanism.
AbstractXHTMLSiteData() - Constructor for class org.alltimeflashdreamer.dimdom.AbstractXHTMLSiteData
 
addData(String) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Stores a single String value, without selection.
addData(String) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Stores a single String value, without selection.
addData(String[]) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Stores a list of String values, without selection.
addData(String[]) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Stores a list of String values, without selection.
addData(String[][]) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Stores a field (i.e.
addData(String[][]) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Stores a field (i.e.
addData(String[][], int) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Stores a field (i.e.
addData(String[][], int) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Stores a field (i.e.
addData(String[][], int, int) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Stores a field (i.e.
addData(String[][], int, int) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Stores a field (i.e.
addData(String[], int) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Stores a list of String values, with selection.
addData(String[], int) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Stores a list of String values, with selection index.
addData(String[], String) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Stores a list of String values, with selected string.
addData(String[], String) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Stores a list of String values, with selected string.
addData(String, boolean) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Stores a single String value, with selection.
addData(String, boolean) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Stores a single String value, with selection.
addData(Vector) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Stores a list of String values, without selection.
addData(Vector) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Stores a list of String values, without selection.
addData(Vector, int) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Stores a list of String values, without selection.
addData(Vector, int) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Stores a list of String values, with selection index.
addData(Vector, String) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Stores a list of String values, with selected string.
addData(Vector, String) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Stores a list of String values, with selected string.
addDimDomDocument(String, XHTMLDocument) - Static method in class org.alltimeflashdreamer.dimdom.DimDom
Adds a key/value pair to the internal list.

B

buildListOfIDNodes(Document) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Builds a hashtable containing ID/XHTML element pairs to find the nodes more easily when modifying them during the following update process with the dynamic values.
buildMicroTemplateNodeList(Hashtable) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
(Re)Builds the internal list of micro-template nodes, i.e.

C

CommandParser - class org.alltimeflashdreamer.dimdom.CommandParser.
Title: CommandParser
Description: This class contains the methods that are able to parse DimDom commands.
These methods are centralized herein to easily find them again in case of changes or extensions of the DimDom specification.
ComplexSiteProcessor - class org.alltimeflashdreamer.dimdom.websitetester.ComplexSiteProcessor.
Title: ComplexSiteProcessor
Description: This is one of the reference implementations of the DimDom Website Tester application.
ComplexSiteProcessor() - Constructor for class org.alltimeflashdreamer.dimdom.websitetester.ComplexSiteProcessor
The constructor defines the commands for the id nodes defined in the template.
createAndAddNextDimDomChild(Element, boolean) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
A new child element is created, appended and returned.
Which node is chosen, is up to the specifications of the DimDom.
createDimDomCommand(String) - Method in class org.alltimeflashdreamer.dimdom.SimpleSiteData
Creates a new command object, after appending the previous one to the internal, ordered list of commands (only if not the first).
createEmptyTextNode(Document) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Creates an "empty text node", i.e.
createSelectedElement(Document, String) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Creates a new node of type "b" and appends a text node to it, containing sText.

D

DimDom - class org.alltimeflashdreamer.dimdom.DimDom.
Title: DimDom
Description: This is the "server core" of the DimDom engine.
DimDomException - exception org.alltimeflashdreamer.dimdom.DimDomException.
Title: DimDomException
Description: This excpeption is designed to handle problems that occur(red) while processing a DimDom template / commands pair.
DimDomException(Exception) - Constructor for class org.alltimeflashdreamer.dimdom.DimDomException
Constructor with a Throwable only.
DimDomException(String) - Constructor for class org.alltimeflashdreamer.dimdom.DimDomException
Constructor with a message text only.
DimDomException(String, Exception) - Constructor for class org.alltimeflashdreamer.dimdom.DimDomException
Constructor with a message text and a Throwable.
DimDomNode - interface org.alltimeflashdreamer.dimdom.DimDomNode.
Title: DimDomNode
Description: This interface collects the supported operations of the DimDom engine that the programmer of the dynamic content is able to use.
DimDomNodeImpl - class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.
Title: DimDomNodeImpl
Description: This class represents one node that is processed by the DimDom engine.
DimDomNodeImpl.AttributeObject - class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.AttributeObject.
Description of the Class
DimDomNodeImpl.EmbeddingLink - class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.EmbeddingLink.
Simple object to stored the set values of an embedding link ("a" element).
DimDomNodeImpl.ValueObject - class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.ValueObject.
The ValueObject class is abled to store data in the supported formats of DimDom, i.e.
DimDomNodeImpl(Document, String) - Constructor for class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.alltimeflashdreamer.dimdom.websitetester.AbstractXHTMLServlet
We don't get, we post!
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.alltimeflashdreamer.dimdom.websitetester.AbstractXHTMLServlet
(abstract declaration, to be implemented by extending classes)
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.alltimeflashdreamer.dimdom.websitetester.XHTMLProcessorServlet
Reads the XHTML string from the URL and passes it to the XHTMLParser class of DimDom.
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.alltimeflashdreamer.dimdom.websitetester.XHTMLParserServlet
Reads the XHTML string from the URL and passes it to the XHTMLParser class of DimDom.

E

ErrorSiteProcessor - class org.alltimeflashdreamer.dimdom.websitetester.ErrorSiteProcessor.
Title: ErrorSiteProcessor
Description: This class generates the error output site, in case an error came up somewhere and needs to be shown to the user.
ErrorSiteProcessor(int, Exception) - Constructor for class org.alltimeflashdreamer.dimdom.websitetester.ErrorSiteProcessor
Simply stores the given parameters, for later processing.
ex - Variable in class org.alltimeflashdreamer.dimdom.websitetester.ErrorSiteProcessor
Description of the Field

F

findAndAddRepeatedElements(NodeList, Vector) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
This method recursively searches the given NodeList for each member of the DOM tree having a defined "dimdom" attribute.
findFirstLeafElement(Node) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Searches the tree down until he finds a leaf node of type Element.
findFirstNodeByName(Node, String) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Searches the tree recursively, starting with node, for a node having the given name.
findFirstText(Node) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Finds the first text down the tree, starting with node.

G

getAttr() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.AttributeObject
Returns the Attr node to add to the underlying element.
getDimDomDocument(String) - Static method in class org.alltimeflashdreamer.dimdom.DimDom
Returns the associated object to sIdentifier from within the internal list.
getElement(Hashtable, String, Document) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
This method can be called be extending classes to directly access an Element specified by the id attribute value within the template.
getEmbeddingLink() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Returns this class EmbeddingLink instance, if defined
getException() - Method in class org.alltimeflashdreamer.dimdom.websitetester.PropertyHandler
Returns the exception that came up or null.
getFirstText(Element) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Searches the first text node done the tree, starting with element.
getHref() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.EmbeddingLink
Returns the target URL attribute node.
getIdentifier() - Method in interface org.alltimeflashdreamer.dimdom.XHTMLSiteData
Returns the identifier which is used by the DimDom to know which template source is now to be filled with dynamic data.
getIdentifier() - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLSiteData
Returns a string that describes the XHTML source.
getMaxRepetitionCount() - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument.RepeatedElement
Returns the number of repetitions that may be made on this node or -1, if unlimited.
getMessage() - Method in class org.alltimeflashdreamer.dimdom.DimDomException
Override of superclass' method, does what is described in the constructor that was called.
getNextAttributeObject() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Returns an AttributeObject instance to be appended to the underlying node by the DimDom engine.
getNextDimDomNode() - Method in interface org.alltimeflashdreamer.dimdom.XHTMLSiteData
Returns the next implementing object of the DimDomNode interface, to allow the DimDom engine to process the next node (or the next clone of a micro-template node).
getNextDimDomNode() - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLSiteData
Returns the next implementing object of the DimDomNode interface, to allow the DimDom engine to process the next node (or the next clone of a micro-template node).
getNextRepeatedElement(String, Element) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
This class doesn't implement the logic that is necessary to find out which node is the next to be processed in micro-template structures.
getNextRepeatedElement(String, Element) - Method in class org.alltimeflashdreamer.dimdom.SimpleDocument
This method is the core of the SimpleDocument's "intelligence".
getNextValue() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.ValueObject
Returns the next value to add to the underlying node or null, if no more values are stored.
getNextValueObject() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Returns an instance of ValueObject, to allow the DimDom engine to process the next cycle on this class' underlying element/node.
getNextValueRow() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.ValueObject
Returns the next value row to add to the underlying node or null, if no more values are stored.
getNodeIdentifier() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Returns the value of the id attribute of the underlying (DimDom) node.
getNumberOfRepetitions(String) - Static method in class org.alltimeflashdreamer.dimdom.CommandParser
Parses the command string and returns the number of repetitions to be done / that are allowed at most.
This method is defined statically to be callable from not instantiating classes too and to increase the performance of this very simple task.
In case the parsing fails, a DimDomException is thrown.
getParserServletSiteURL() - Method in class org.alltimeflashdreamer.dimdom.websitetester.PropertyHandler
Returns the URL of the template file of the parser output site.
getProcessedRepetitionsCount() - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument.RepeatedElement
Returns the (current) amount of repetition cycles that have been processed on this class' repeated node until now.
getProcessedRepetitionsCount(String) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Returns the total number of already processed repetitions of the node having the given identifier.
getProcessorClassName() - Method in class org.alltimeflashdreamer.dimdom.websitetester.PropertyHandler
Returns the name of the default processor class, as found in the property file.
getRepeatedElements(String) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Returns the list of RepeatedElement instances that were initialized for the given node or null, if no such nodes exist for the given node in the template.
getRepeatedNode() - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument.RepeatedElement
Returns the underlying, to-be-repeated node of the document that this class was created for (may be either the original or the cloned Document object!).
getReplacingText() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Returns the replacing text of this node.
getSelectedColumn() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.ValueObject
Returns the index of the selected column, if a selection in a 2D value field is set, else -1.
getSelectedRow() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.ValueObject
Returns the index of the selected row, if a selection in a 1D or 2D value list/field is set, else -1.
getStoredTableDataChildCount(String) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Returns the stored value for the amount of td/th child nodes, as calculated int getTableDataChildCount.
getString() - Method in interface org.alltimeflashdreamer.dimdom.XHTMLSiteData
Returns the source string to be parsed.
getString() - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLSiteData
Returns the source string to be parsed.
getTableDataChildCount(Element) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Returns the current amount of td or th (see isTableDataNode method) child elements for the given node identifier.
getTarget() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.EmbeddingLink
Returns the target frame attribute node.
getTemplateFileName() - Method in interface org.alltimeflashdreamer.dimdom.XHTMLSiteData
Returns the template's file name of the template file to be parsed.
getTemplateFileName() - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLSiteData
Returns the file name of the template file to be parsed.
getTestDocument() - Static method in class org.alltimeflashdreamer.dimdom.DimDom
Returns a clone of the internal test document, ready to be used for e.g.
getURL() - Method in interface org.alltimeflashdreamer.dimdom.XHTMLSiteData
Returns the source URL to parse from.
getURL() - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLSiteData
Returns the source URL to parse from.
getXHTMLDocumentClassName() - Method in interface org.alltimeflashdreamer.dimdom.XHTMLSiteData
This method returns the fully qualified class name of the XHTMLDocument implementing class.
getXHTMLDocumentClassName() - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLSiteData
(is abstract to be implemented by the extending class)
getXHTMLDocumentClassName() - Method in class org.alltimeflashdreamer.dimdom.SimpleSiteData
Returns the XHTMLDocument implementing instance of the reference implementation.
getXMLTags() - Method in class org.alltimeflashdreamer.dimdom.websitetester.PropertyHandler
Returns two full line, one for the xml and one for the doctype tags, both ending with a line separator.

H

hasEmbeddingLink() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Returns whether this node was set to be embedded in a link.
hasMoreAttributeObjects() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Returns whether there are more instances of Attr in the pipeline or not.
hasMoreDimDomNodeImpls() - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLSiteData
Returns whether there are more DimDomNode implementing instances in the pipeline or not.
hasMoreValueObjects() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Returns whether there are more instances of ValueObject in the pipeline or not.
hasMoreValues() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.ValueObject
Returns whether there are more values to add to the underlying node.
hasReadingBeenSuccessful() - Method in class org.alltimeflashdreamer.dimdom.websitetester.PropertyHandler
Returns whether the property file was found and loaded or not.
hasSelection() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.ValueObject
Returns whether a value was selected or not.
hide(Element, Node) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Hides the Element parameter by replacing it with another node.
If the element is a "tr" element, then the children of type "th" or "td" are searched and their content is hided, and its height attribute is removed.
hideChildElements(Element, Node) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Hides each child element (!) of element, i.e.
hIDNodeList - Variable in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
the list of template nodes having an "id" attribute
hMicroTemplateNodes - Variable in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
the list of nodes and their repeated child elements (micro-template structure nodes)
hProcessedIDs - Variable in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
the list of already processed id nodes, to find out whether it's a repeated command on the same node or not, stored together with the number of repetitions; this number is altered on each repetition of the node

I

iErrorCode - Variable in class org.alltimeflashdreamer.dimdom.websitetester.ErrorSiteProcessor
Description of the Field
INPUTPARSERERROR - Static variable in class org.alltimeflashdreamer.dimdom.websitetester.ErrorSiteProcessor
code describing the error during parsing of the XHTML source/input
isChildAttribute() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.AttributeObject
Returns whether this is a child attribute, which is set to DimDom-specific child node, or not.
isCommon() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.AttributeObject
Returns whether this is a common attribute, which is set to each node of the same type as the node having the node identifier of the parent class, or not.
isDimDomListNode(Node) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Returns whether node is a DimDom list node or not, i.e.
isEmpty(String) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Returns whether the given test string is null or equals the empty string.
isFileSource() - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLSiteData
Returns whether the input source is (currently) a file or not.
isHTMLListNode(Node) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Returns whether node is a HTML list node or not, i.e.
isRepeatable() - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument.RepeatedElement
Returns whether this class' repeated node is (still) allowed to be repeated.
isRepeatedCommand(String, Element) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Returns whether the given element is a micro-template node or not.
isSingleValue() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.ValueObject
Returns whether the current element receives a single value or not.
isStringSource() - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLSiteData
Returns whether the input source is (currently) just a string or not.
isTableDataNode(Node) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Returns whether node is a table dent node or not, i.e.
isTableRowNode(Node) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Returns whether node is a table row node or not, i.e.
isURLSource() - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLSiteData
Returns whether the input source is (currently) an URL or not.
isValueField() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.ValueObject
Returns whether the current element receives a two-dimensional list of values or not.
isValueList() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl.ValueObject
Returns whether the current element receives a one-dimensional list of values or not.
isVisible() - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Returns the visibility of the node.

M

main(String[]) - Static method in class org.alltimeflashdreamer.dimdom.SiteTester
The main method parses the command line arguments and reacts accordingly.
MISSINGINPUTERROR - Static variable in class org.alltimeflashdreamer.dimdom.websitetester.ErrorSiteProcessor
code describing that no XHTML input string was found/given through the tester web site
MISSINGPROCESSORCLASSERROR - Static variable in class org.alltimeflashdreamer.dimdom.websitetester.ErrorSiteProcessor
code describing that the given processor class wasn't found

O

org.alltimeflashdreamer.dimdom - package org.alltimeflashdreamer.dimdom
 
org.alltimeflashdreamer.dimdom.websitetester - package org.alltimeflashdreamer.dimdom.websitetester
 

P

parse(File) - Method in class org.alltimeflashdreamer.dimdom.XHTMLParser
Parses the file and returns a Document object containing the DOM of the file.
parse(InputStream) - Method in class org.alltimeflashdreamer.dimdom.XHTMLParser
Parses the input stream and returns a Document object containing the DOM of the stream.
The parsing itself is done with the validating Xerces XHTML parser.
parse(String) - Method in class org.alltimeflashdreamer.dimdom.XHTMLParser
Parses the input string and returns a Document object containing the DOM of the content.
The parsing itself is done with the validating Xerces XHTML parser.
parseFile(File) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Parses the parameter file, but only during initialization or if the specified file has a new last modification date.
parseFile(String) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Parses the file specified in sFileName, but only during initialization or if the specified file has a new last modification date.
parseInputStream(InputStream) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Parses the InputStream specified in stream (parsing is done any time the method is executed).
parseString(String) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Parses the InputStream specified in stream (parsing is done any time the method is executed).
print() - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Forces the XHTMLDocument instance to print out its dynamically adapted content as a fully qualified XHTML String.
This is done after the cloning of the internal Document pointer and the calling of the processDynamicData method, which updates the DOM.
print() - Method in interface org.alltimeflashdreamer.dimdom.XHTMLDocument
Forces the HTMLDocument to print out its dynamically adapted content as a String.
The exception that may be thrown is one of the processing of the dynamic data or of the HTMLFormatter.
print() - Method in class org.alltimeflashdreamer.dimdom.websitetester.ErrorSiteProcessor
Builds the error site output and calls the print method of the DimDom class to get the fully formatted, dynamically filled XHTML string.
If somehow this class itself runs into troubles, it wraps them into an IOException.
print(XHTMLSiteData) - Static method in class org.alltimeflashdreamer.dimdom.DimDom
Does everything that is necessary to be done to form a dynamically updated XHTML output out of the values defined in SiteData.
Therefore, the internal list of preloaded sites is checked against the String received from the XHTMLSiteData's getIdentifier method.
printSite(HttpServletResponse, XHTMLSiteData) - Method in class org.alltimeflashdreamer.dimdom.websitetester.AbstractXHTMLServlet
Simply prints the HTML output, generated by the DimDom.print method.
processDimDomNode(DimDomNodeImpl, Element, boolean) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Processes one node of the template having an id attribute value, along the specifications of DimDom.
processRepetition() - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument.RepeatedElement
Notifies this class that it's repeated node has been repeated / is now in process of repetition.
PROPERTYFILEERROR - Static variable in class org.alltimeflashdreamer.dimdom.websitetester.ErrorSiteProcessor
code describing the error during finding/reading of the property file
PropertyHandler - class org.alltimeflashdreamer.dimdom.websitetester.PropertyHandler.
Title: PropertyHandler
Description: Simple value handler class for the various property file parameters.
PropertyHandler(HttpServletRequest, ServletContext) - Constructor for class org.alltimeflashdreamer.dimdom.websitetester.PropertyHandler
Reads the property file from the various input source and stores the state, i.e.

R

removeChildElements(Node) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Removes the child nodes that are Element nodess.
removeChildTextNodes(Node) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Removes the child nodes that are Text nodess.
removeDimDomDocument(String) - Static method in class org.alltimeflashdreamer.dimdom.DimDom
Removes the associated object of sIdentifier from within the internal list.
removeNodes(Vector) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Removes each node in the given list.

S

SampleSiteProcessor - class org.alltimeflashdreamer.dimdom.websitetester.SampleSiteProcessor.
Title: SampleSiteProcessor
Description: This is one of the reference implementations of the DimDom Website Tester application.
SampleSiteProcessor() - Constructor for class org.alltimeflashdreamer.dimdom.websitetester.SampleSiteProcessor
The constructor builds a simple list of DimDom commands which are to be processed using the XHTML input string from the Website Tester's text area input.
The method first calls the superclass' constructor using the empty string.
setAttribute(Element, Attr) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Sets an attribute name and value to the parameter Element.
setAttribute(String, String) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Sets an attribute key/value pair to the node.
setAttribute(String, String) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Sets an attribute key/value pair to the node.
setAttribute(String, String, boolean) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Sets an attribute key/value pair to the node.
setAttribute(String, String, boolean) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Sets an attribute key/value pair to the node.
setChildAttribute(String, String) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Sets an attribute key/value pair to DimDom-specific child of node.
setChildAttribute(String, String) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Sets an attribute key/value pair to DimDom-specific child of node.
setCommonAttribute(Element, Attr) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Sets the attribute and its value to each node found within the document that has the same node name as element.
setContent(String, Element, String[], boolean, int, boolean) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Sets the children's content of element using the value list parameter.
setContent(String, Element, String, boolean, boolean) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Sets the content of element to sContent.
setEmbeddingLink(String) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Embeds the underlying DOM node with a "a" element and sets the parameter String to the element's "href" attribute.
setEmbeddingLink(String) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Embeds the underlying DOM node with a "a" element and sets the parameter String to the element's "href" attribute.
setEmbeddingLink(String, String) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Embeds the underlying DOM node with a "a" element and sets the parameter String to the element's "href" attribute.
setEmbeddingLink(String, String) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Embeds the underlying DOM node with a "a" element and sets the parameter String to the element's "href" attribute.
setOptionTagSelected(Element, boolean) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Sets or unsets the selected attribute of the option tag, depending on the boolean parameter.
setRepeatedElements(String, AbstractXHTMLDocument.RepeatedElement[]) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Sets the list of RepeatedElement instances of the given node.
setReplacingText(String) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Sets the visibility of the DimDomNode to false and updates the replacement value.
setReplacingText(String) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Sets the visibility of the DimDomNode to false and updates the replacement value.
setSiteData(XHTMLSiteData) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
This method is (typically) called by the servlet instantiating a specific subclass of this class that needs to be filled with dynamic data.
It is defined within a separate interface to hide the functionality of implementing classes to the servlet programmer, because the updating process is uni-directional (thread safety!).
setSiteData(XHTMLSiteData) - Method in interface org.alltimeflashdreamer.dimdom.XHTMLDocument
This method is (typically) called by the servlet instantiating a specific subclass of this class that needs to be filled with dynamic data.
It is defined within a separate interface to hide the functionality of implementing classes to the servlet programmer, because the updating process is uni-directional (thread safety!).
setString(String) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLSiteData
Sets the internal string value and unsets the others.
setTemplateFilename(String) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLSiteData
Sets the internal template file name value and the others.
setText(Element, String) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Sets the given string content to the given node by setting the content to the first found text node.
setText(Element, String, boolean) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Just calls setText(element, sText), if bIsSelected is false; else a selected element is created and appended to element.
setTexts(Element, Vector, int) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Sets a list of string values to a node that is not a list node (see isDimDomListNode method).
setTexts(Element, Vector, int, int, int) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Sets a 2D field of string values to a node that is not a list node (see isDimDomListNode method).
setURL(URL) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLSiteData
Sets the internal URL value and unsets the others.
setVisible(boolean) - Method in class org.alltimeflashdreamer.dimdom.DimDomNodeImpl
Sets the visibility of the DimDomNode.
setVisible(boolean) - Method in interface org.alltimeflashdreamer.dimdom.DimDomNode
Sets the visibility of the DimDomNode.
showErrorSite(int, HttpServletResponse, Exception) - Method in class org.alltimeflashdreamer.dimdom.websitetester.AbstractXHTMLServlet
Initializes the appropriate procedure to show the given error to the user.
SimpleDocument - class org.alltimeflashdreamer.dimdom.SimpleDocument.
Title: SimpleDocument
Description: This class implements the "simple" logic of the DimDom, extending the very "base" logic from AbstractHTMLDocument, which means that it implements the abstract method getNextRepeatedElement method defined in the superclass.
SimpleDocument() - Constructor for class org.alltimeflashdreamer.dimdom.SimpleDocument
Constructor is empty and package protected.
SimpleDocument(XHTMLSiteData) - Constructor for class org.alltimeflashdreamer.dimdom.SimpleDocument
Constructor is package protected and proceeds the full job list to be immediately printable.
SimpleSiteData - class org.alltimeflashdreamer.dimdom.SimpleSiteData.
Title: SimpleSiteData
Description: This simple implementation of AbstractXHTMLSiteData provides two constructors, one for each of the two parameters of those at least one must be defined.
SimpleSiteData(String) - Constructor for class org.alltimeflashdreamer.dimdom.SimpleSiteData
Constructor parses a file source, if the given String doesn't contain " ", else the given String is assumed to be an XHTML string and is parsed itself (note: maximum lenght of java.lang.String is the limitation!).
SimpleSiteData(URL) - Constructor for class org.alltimeflashdreamer.dimdom.SimpleSiteData
Constructor needed to parse an URL source.
siteData - Variable in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
pointer to AbstractXHTMLSiteData object which is used to process the dynamic data within the reference implementation
SITEDATAERROR - Static variable in class org.alltimeflashdreamer.dimdom.websitetester.ErrorSiteProcessor
code describing that an error occurred during fill-in of the dynamic data into the DimDom command objects
SITEPRINTERROR - Static variable in class org.alltimeflashdreamer.dimdom.websitetester.ErrorSiteProcessor
code describing that an error occurred during printing out of the dynamically updated Document object
SiteTester - class org.alltimeflashdreamer.dimdom.SiteTester.
Title: SiteTester
Description: This class allows both a designer and a programmer to test whether a html file describing a web site is acceptable for the DOM parser and the needs of DimDom.
It reads the command line parameters and parses the specified file accordingly, printing out either the result output after a successful parsing or the stack trace of the exception that was thrown during the processing.
SiteTester(String) - Constructor for class org.alltimeflashdreamer.dimdom.SiteTester
Tries to parse the file and throws the possibly upcoming exceptions to the main method where they are printed to the screen.

T

TESTDOCUMENT - Static variable in class org.alltimeflashdreamer.dimdom.DimDom
Stores a validateable XHTML String which is used to test the programmer's commands.
toString() - Method in class org.alltimeflashdreamer.dimdom.DimDomException
Override of superclass' method, calls getMessage().

V

vDimDomNodeImpls - Variable in class org.alltimeflashdreamer.dimdom.AbstractXHTMLSiteData
the ordered list of DimDomNodeImpl objects

W

wrapWithLink(Element, DimDomNodeImpl.EmbeddingLink) - Method in class org.alltimeflashdreamer.dimdom.AbstractXHTMLDocument
Wraps the parameter Element with a link specified by its target URL and frame.

X

XHTMLDocument - interface org.alltimeflashdreamer.dimdom.XHTMLDocument.
Title: XHTMLDocument
Description: This interface declares the two central methods of the DimDom engine: print and setSiteData.
XHTMLParser - class org.alltimeflashdreamer.dimdom.XHTMLParser.
Title: XHTMLParser
Description: Parses a File or an InputStream source and returns the Document instance.
XHTMLParser() - Constructor for class org.alltimeflashdreamer.dimdom.XHTMLParser
Empty constructor.
XHTMLParserServlet - class org.alltimeflashdreamer.dimdom.websitetester.XHTMLParserServlet.
Title: XHTMLParserServlet
Description: This servlet parses the XHTML string from URL input and tries to build a Document instance out of it.
XHTMLParserServlet() - Constructor for class org.alltimeflashdreamer.dimdom.websitetester.XHTMLParserServlet
 
XHTMLProcessorServlet - class org.alltimeflashdreamer.dimdom.websitetester.XHTMLProcessorServlet.
Title: XHTMLProcessorServlet
Description: This servlet fills the DimDom XHTML input with the dynamic values.
XHTMLProcessorServlet() - Constructor for class org.alltimeflashdreamer.dimdom.websitetester.XHTMLProcessorServlet
 
XHTMLSiteData - interface org.alltimeflashdreamer.dimdom.XHTMLSiteData.
Title: XHTMLSiteData
Description: This is the client interface of the DimDom engine.

A B C D E F G H I M O P R S T V W X
Copyright (c) 2001/02 by Florian Steinsiepe