Class JDFShapeEvaluation

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, JDFBaseDataTypes, IStreamWriter, org.w3c.dom.Element, org.w3c.dom.ElementTraversal, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.TypeInfo

    public class JDFShapeEvaluation
    extends JDFEvaluation
    See Also:
    Serialized Form
    • Constructor Detail

      • JDFShapeEvaluation

        public JDFShapeEvaluation​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                                  java.lang.String qualifiedName)
                           throws org.w3c.dom.DOMException
        constructor for JDFShapeEvaluation
        Parameters:
        myOwnerDocument -
        qualifiedName -
        Throws:
        org.w3c.dom.DOMException
      • JDFShapeEvaluation

        public JDFShapeEvaluation​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                                  java.lang.String myNamespaceURI,
                                  java.lang.String qualifiedName)
                           throws org.w3c.dom.DOMException
        constructor for JDFShapeEvaluation
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
        Throws:
        org.w3c.dom.DOMException
      • JDFShapeEvaluation

        public JDFShapeEvaluation​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                                  java.lang.String myNamespaceURI,
                                  java.lang.String qualifiedName,
                                  java.lang.String myLocalName)
                           throws org.w3c.dom.DOMException
        constructor for JDFShapeEvaluation
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
        myLocalName -
        Throws:
        org.w3c.dom.DOMException
    • Method Detail

      • toString

        public java.lang.String toString()
        toString
        Overrides:
        toString in class JDFEvaluation
        Returns:
        String
        See Also:
        Object.toString()
      • setTolerance

        public void setTolerance​(JDFXYPair value)
      • fitsValue

        public boolean fitsValue​(java.lang.String value)
        fitsValue - checks whether value matches the testlists specified for this Evaluation
        Specified by:
        fitsValue in class JDFEvaluation
        Parameters:
        value - value to test
        Returns:
        boolean - true, if value matches the testlists or if testlists are not specified
      • fitsXYZTolerance

        public JDFNumberRangeList fitsXYZTolerance​(JDFNumberRangeList origRangeList)
        fitsXYZTolerance - checks whether this Evaluation has a specified Tolerance that it is not equal "0 0", and expands the original rangelist to the rangelist that fits the Tolerance.
        Parameters:
        rangeList - original rangelist
        Returns:
        JDFNumberRangeList - expanded rangelist, returns original range if Tolerance=="0 0"