Class DefaultNCFileProcessPlanParserDelegate

java.lang.Object
com.ptc.windchill.mpml.nc.AbstractNCFileParser
com.ptc.windchill.mpml.nc.DefaultNCFileProcessPlanParserDelegate
All Implemented Interfaces:
com.ptc.windchill.mpml.nc.NCFileParser

public class DefaultNCFileProcessPlanParserDelegate extends com.ptc.windchill.mpml.nc.AbstractNCFileParser
This is the default parser for the NC process plan. In an NC/XML file, the process plan is the main element, and declares the resources, operations and steps.

Supported API: true

Extendable: true
  • Method Details

    • collectExistingOperations

      public Collection collectExistingOperations(MPMOperationHolder mainSelection, NCServerHolder serverHolder) throws WTException
      Collect operation based on given MPMOperationHolder and Navigation Criteria holder. Find all children operations (at all levels)

      Supported API: true
      Parameters:
      mainSelection - Selected object for which action was started
      iHelperData - The client info and data for parsing (user options, locales, database objects).
      Returns:
      Collection of all retrieved operations
      Throws:
      WTException
    • getUnitAttributes

      public String[] getUnitAttributes()
      List of Unit attributes names

      Supported API: true
      Returns:
      String[] unit attributes names
    • getAllUnitsFromElement

      public NodeList getAllUnitsFromElement(Element element)
      Parse the process plan to find all declared Units based on xml tag (Default: "Units").

      Supported API: true
      Parameters:
      iElement - The XML element containing the declaration of the Unit.
      Returns:
      NodeList Nodes (coming from the XML file) to process.
    • getAllWorkCentersFromElement

      public NodeList getAllWorkCentersFromElement(Element element)
      Parse the process plan to find all declared WorkCenters based on xml tag (Default: "Workcells").

      Supported API: true
      Parameters:
      iElement - The XML element containing the declaration of the WorkCenter.
      Returns:
      NodeList Nodes (coming from the XML file) to process.
    • getAllFixturesFromElement

      public NodeList getAllFixturesFromElement(Element element)
      Parse the process plan to find all declared Fixtures based on xml tag (Default: "Components").

      Supported API: true
      Parameters:
      iElement - The XML element containing the declaration of the Fixture.
      Returns:
      NodeList Nodes (coming from the XML file) to process.
    • getAllToolsFromElement

      public NodeList getAllToolsFromElement(Element element)
      Parse the process plan to find all declared Tools based on xml tag (Default: "Tools").

      Supported API: true
      Parameters:
      iElement - The XML element containing the declaration of the Tool.
      Returns:
      NodeList Nodes (coming from the XML file) to process.
    • getAllOperationsFromElement

      public NodeList getAllOperationsFromElement(Element element)
      Parse the process plan to find all declared opearations based on xml tag (default: "Operation").

      Supported API: true
      Parameters:
      iElement - The XML element containing the declaration of the opearation.
      Returns:
      NodeList Nodes (coming from the XML file) to process.