|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--simkin.ExecutableRoot | +--simkin.XMLElementObject | +--simkin.examples.inherits.InheritsElement | +--simkin.examples.inherits.InheritsExecutable
This class loads an XML file and makes sure any <inherits> tags are resolved.
Constructor Summary | |
InheritsExecutable(java.lang.String location,
java.io.InputStream in)
Constructor taking an input stream containing an XML document |
Method Summary | |
void |
load(java.io.InputStream in)
This method is overriden to search for the inherits tag |
Methods inherited from class simkin.examples.inherits.InheritsElement |
createXMLElementObject, replaceInherits, setElement |
Methods inherited from class simkin.XMLElementObject |
addElement, containsElement, copyAttributesInto, copyItemsInto, createIterator, createIterator, dump, enumerate, enumerate, equals, findChild, findChild, findChild, getAddIfNotPresent, getAttribute, getAttributes, getData, getElement, getInstanceVariables, getLocation, getSource, getValue, getValueAt, method, setAddIfNotPresent, setAttribute, setData, setValue, setValueAt, tagName, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public InheritsExecutable(java.lang.String location, java.io.InputStream in) throws org.xml.sax.SAXException, java.io.IOException
org.xml.sax.SAXException
- where there was a syntax error in the XML stream
java.io.IOException
- where there was an error loading the streamMethod Detail |
public void load(java.io.InputStream in) throws org.xml.sax.SAXException, java.io.IOException
in
- - stream containing the XML
org.xml.sax.SAXException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |