Class DefaultNCFileFixturesParserDelegate

java.lang.Object
com.ptc.windchill.mpml.nc.AbstractNCFileParser
com.ptc.windchill.mpml.nc.AbstractNCFileResourcesParser
com.ptc.windchill.mpml.nc.DefaultNCFileToolingsParserDelegate
com.ptc.windchill.mpml.nc.DefaultNCFileFixturesParserDelegate
All Implemented Interfaces:
com.ptc.windchill.mpml.nc.NCFileParser

public class DefaultNCFileFixturesParserDelegate extends DefaultNCFileToolingsParserDelegate
This is the default parser for the fixtures. Its duty is to preload the declared fixtures, in order for them to be ready when the operations will need them.

Supported API: true

Extendable: true
  • Method Details

    • getAllFixturesFromElement

      public NodeList getAllFixturesFromElement(Element element)
      Parse the process plan to find all declared fixtures based on xml tag (default: "Component").

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

      public String[] getFixturesByAttributes(NodeList listOfFixtures)
      Get fixtures based on xml tag attribute (default: "Type" and "Fixture").

      Supported API: true
      Parameters:
      listOfFixtures - The XML node list containing the declaration of the fixtures.
      Returns:
      String fixtures that will later be used by the operations
    • collectFixtures

      public void collectFixtures(Element element, Object[] fixtures, NCFileHelperData iHelperData, NCFileLog iLog, String configuredAttribute)
      Logic used to fetch Fixtures from DB and cache them for later use. Method can be used to change logic of collecting Fixtures by updating iHelperData

      Supported API: true
      Parameters:
      element - The XML element containing the declaration of the Fixture.
      iHelperData - The data that will be useful for the parsing (client locale, user options, element(s) selected, database objects, etc).
      iLog - The log describing the parsing status. The parsing process is expected to populate the status
      configuredAttribute -