com.sun.electric.technology
Class Xml

java.lang.Object
  extended by com.sun.electric.technology.Xml

public class Xml
extends java.lang.Object


Nested Class Summary
static class Xml.ArcLayer
           
static class Xml.ArcProto
           
static class Xml.Distance
           
static class Xml.Foundry
           
static class Xml.Layer
           
static class Xml.MenuNodeInst
           
static class Xml.MenuPalette
           
static class Xml.NodeLayer
           
static class Xml.NodeSizeRule
           
static class Xml.PrimitiveNode
           
static class Xml.PrimitivePort
           
static class Xml.PureLayerNode
           
static class Xml.SpiceHeader
           
static class Xml.Technology
           
static class Xml.Version
           
 
Method Summary
static Xml.MenuPalette parseComponentMenuXMLTechEdit(java.lang.String xml, java.util.List<Xml.PrimitiveNode> nodes, java.util.List<Xml.ArcProto> arcs)
          Method to parse a string of XML that describes the component menu in a Technology Editing context.
static Xml.Technology parseTechnology(java.net.URL fileURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parseTechnology

public static Xml.Technology parseTechnology(java.net.URL fileURL)

parseComponentMenuXMLTechEdit

public static Xml.MenuPalette parseComponentMenuXMLTechEdit(java.lang.String xml,
                                                            java.util.List<Xml.PrimitiveNode> nodes,
                                                            java.util.List<Xml.ArcProto> arcs)
Method to parse a string of XML that describes the component menu in a Technology Editing context. Normal parsing of XML returns objects in the Xml class, but this method returns objects in a given Technology-Editor world.

Parameters:
xml - the XML string
nodes - the PrimitiveNode objects describing nodes in the technology.
arcs - the ArcProto objects describing arcs in the technology.
Returns:
the MenuPalette describing the component menu.