com.sun.electric.technology.xml
Class XmlParam

java.lang.Object
  extended by com.sun.electric.technology.xml.XmlParam

public class XmlParam
extends java.lang.Object


Nested Class Summary
static class XmlParam.ArcLayer
           
static class XmlParam.ArcPin
           
static class XmlParam.ArcProto
           
static class XmlParam.DisplayStyle
           
static class XmlParam.Distance
           
static interface XmlParam.DistanceContext
           
static class XmlParam.DistanceRule
           
static class XmlParam.Foundry
           
static class XmlParam.Layer
           
static class XmlParam.LayerDisplayStyle
           
static class XmlParam.MenuCell
           
static class XmlParam.MenuNodeInst
           
static class XmlParam.MenuPalette
           
static class XmlParam.NodeLayer
           
static class XmlParam.NodeSizeRule
           
static class XmlParam.PrimitiveNode
           
static class XmlParam.PrimitivePort
           
static class XmlParam.PureLayerNode
           
static class XmlParam.RuleSet
           
static class XmlParam.SpiceHeader
           
static class XmlParam.Technology
           
 
Field Summary
static XmlParam.DistanceContext EMPTY_CONTEXT
           
 
Method Summary
static XmlParam.MenuPalette parseComponentMenuXMLTechEdit(java.lang.String xml, java.util.List<XmlParam.PrimitiveNode> nodes, java.util.List<XmlParam.ArcProto> arcs)
          Method to parse a string of XML that describes the component menu in a Technology Editing context.
static XmlParam.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

EMPTY_CONTEXT

public static XmlParam.DistanceContext EMPTY_CONTEXT
Method Detail

parseTechnology

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

parseComponentMenuXMLTechEdit

public static XmlParam.MenuPalette parseComponentMenuXMLTechEdit(java.lang.String xml,
                                                                 java.util.List<XmlParam.PrimitiveNode> nodes,
                                                                 java.util.List<XmlParam.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.