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.PrimitiveNodeGroup
           
static class Xml.PrimitivePort
           
static class Xml.ProtectionType
           
static class Xml.PureLayerNode
           
static class Xml.SpiceHeader
           
static class Xml.Technology
           
static class Xml.Version
           
 
Field Summary
static double DEFAULT_LE_DIFFALPHA
          Default Logical effort diff alpha.
static double DEFAULT_LE_GATECAP
          Default Logical effort gate capacitance.
static double DEFAULT_LE_WIRERATIO
          Default Logical effort wire ratio.
 
Method Summary
static Xml.MenuPalette parseComponentMenuXMLTechEdit(java.lang.String xml, java.util.List<Xml.PrimitiveNodeGroup> nodeGroups, 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
 

Field Detail

DEFAULT_LE_GATECAP

public static final double DEFAULT_LE_GATECAP
Default Logical effort gate capacitance.

See Also:
Constant Field Values

DEFAULT_LE_WIRERATIO

public static final double DEFAULT_LE_WIRERATIO
Default Logical effort wire ratio.

See Also:
Constant Field Values

DEFAULT_LE_DIFFALPHA

public static final double DEFAULT_LE_DIFFALPHA
Default Logical effort diff alpha.

See Also:
Constant Field Values
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.PrimitiveNodeGroup> nodeGroups,
                                                            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
nodeGroups - the PrimitiveNodeGroup objects describing nodes in the technology.
arcs - the ArcProto objects describing arcs in the technology.
Returns:
the MenuPalette describing the component menu.