org.apache.ecs.html2ecs
Class Html2Ecs

java.lang.Object
  extended by java.util.Dictionary
      extended by java.util.Hashtable
          extended by org.apache.ecs.html2ecs.Html2Ecs
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

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

Field Summary
private static org.w3c.dom.Document doc
           
private static java.io.InputStream input
           
private static org.apache.xerces.parsers.DOMParser parser
           
 
Constructor Summary
Html2Ecs()
           
 
Method Summary
private  void constructAttributes(org.w3c.dom.Node node)
           
private  void constructElement(org.w3c.dom.Node node)
           
private  void constructValue(org.w3c.dom.Node node)
           
static void main(java.lang.String[] args)
           
private  void process(org.w3c.dom.Node node)
           
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

doc

private static org.w3c.dom.Document doc

parser

private static org.apache.xerces.parsers.DOMParser parser

input

private static java.io.InputStream input
Constructor Detail

Html2Ecs

public Html2Ecs()
Method Detail

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.