org.apache.ecs.html2ecs
Class Html2Ecs
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--org.apache.ecs.html2ecs.Html2Ecs
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class Html2Ecs
- extends java.util.Hashtable
The point of this class is to create an HTML file -> ECS code converter.
It is NOT required for ECS core execution. If it does not
compile, it is because you need to get the Xerces XML parser for Java from
xml.apache.org.
This class is presently fairly broken and is really only shown as an example.
Contributions towards making this class would be MOST appreciated. Please subscribe to
the ECS mailing list and express
your interest there.
- See Also:
- Serialized Form
Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
Field Summary |
private static org.w3c.dom.Document |
doc
|
private static java.io.InputStream |
input
|
private static org.apache.xerces.parsers.DOMParser |
parser
|
Fields inherited from class java.util.Hashtable |
count, emptyEnumerator, emptyIterator, ENTRIES, entrySet, KEYS, keySet, loadFactor, modCount, serialVersionUID, table, threshold, values, VALUES |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, getEnumeration, getIterator, hashCode, isEmpty, keys, keySet, put, putAll, readObject, rehash, remove, size, toString, values, writeObject |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait |
doc
private static org.w3c.dom.Document doc
parser
private static org.apache.xerces.parsers.DOMParser parser
input
private static java.io.InputStream input
Html2Ecs
public Html2Ecs()
void ()
- Overrides:
in class java.util.Hashtable
process
private void process(org.w3c.dom.Node node)
constructElement
private void constructElement(org.w3c.dom.Node node)
constructValue
private void constructValue(org.w3c.dom.Node node)
constructAttributes
private void constructAttributes(org.w3c.dom.Node node)
main
public static void main(java.lang.String[] args)
Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.