com.sun.electric.technology
Class Xml
java.lang.Object
com.sun.electric.technology.Xml
public class Xml
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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 stringnodeGroups
- the PrimitiveNodeGroup objects describing nodes in the technology.arcs
- the ArcProto objects describing arcs in the technology.
- Returns:
- the MenuPalette describing the component menu.