|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object moritz.eric.tallxslt.DataStore
Constructor Summary | |
DataStore()
This is the Contructor. |
Method Summary | |
void |
addVar(java.lang.String name,
java.lang.Object o)
This adds a variable to the Data Store. |
void |
addVar(java.lang.String name,
java.lang.Object[] o)
This passes an array of objects. |
void |
addVar(java.lang.String name,
java.lang.Object[] o,
boolean isXML)
This passes an array of objects. |
void |
addVar(java.lang.String name,
java.lang.Object o,
boolean isXML)
This adds a variable to the Data Store. |
protected org.w3c.dom.Document |
getDom()
|
void |
printDom()
This prints the Dom to the System.out |
void |
printDom(org.w3c.dom.Document dom)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataStore() throws javax.xml.parsers.ParserConfigurationException
Method Detail |
public void printDom()
public void printDom(org.w3c.dom.Document dom)
public void addVar(java.lang.String name, java.lang.Object o) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, java.io.IOException
name
- The name of the variable. This must be a valid name for an XML Tag since XML is how the template engine stores the variableso
- The object being passed to the Data Store, currently the system doesn't support primitive values. If you need to pass a primitive value you must first create it's java object equivilent. For instance if you have an int value you must create an Integer object of that int and then pass it to this method.
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException
public void addVar(java.lang.String name, java.lang.Object o, boolean isXML) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, java.io.IOException
name
- The name of the variable. This must be a valid name for an XML Tag since XML is how the template engine stores the variableso
- The object being passed to the Data Store, currently the system doesn't support primitive values. If you need to pass a primitive value you must first create it's java object equivilent. For instance if you have an int value you must create an Integer object of that int and then pass it to this method.isXML
- Treat all strings as valid XML, don't worry things will crash and burn if it isn't
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException
public void addVar(java.lang.String name, java.lang.Object[] o) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, java.io.IOException
name
- This is the name of the elemento
- This is the array of objects
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException
public void addVar(java.lang.String name, java.lang.Object[] o, boolean isXML) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, java.io.IOException
name
- This is the name of the elemento
- This is the array of objectsisXML
- Treat all strings as valid XML, don't worry things will crash and burn if it isn't
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException
protected org.w3c.dom.Document getDom()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |