Class JDFPDFPathState

    • Constructor Detail

      • JDFPDFPathState

        public JDFPDFPathState​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                               java.lang.String qualifiedName)
        constructor for JDFPDFPathState
        Parameters:
        myOwnerDocument -
        qualifiedName -
      • JDFPDFPathState

        public JDFPDFPathState​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                               java.lang.String myNamespaceURI,
                               java.lang.String qualifiedName)
        constructor for JDFPDFPathState
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
      • JDFPDFPathState

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

      • toString

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

        public void setCurrentValue​(java.lang.String value)
      • getCurrentValue

        public java.lang.String getCurrentValue()
      • setDefaultValue

        public void setDefaultValue​(java.lang.String value)
      • getDefaultValue

        public java.lang.String getDefaultValue()
      • getValue

        public JDFValue getValue​(int iSkip)
      • appendValue

        public JDFValue appendValue()
      • getValueLoc

        public final JDFLoc getValueLoc​(int iSkip,
                                        int jSkip)
        Gets the jSkip'th element Loc of the iSkip'th element Value
        Parameters:
        iSkip - : number of Value elements to skip (iSkip=0 -> first Value element)
        int - jSkip: number of Loc subelements of the iSkip'th Value element to skip, (jSkip=0 -> first Loc element)
        Returns:
        JDFLoc: the matching Loc element
      • appendValueLocLoc

        public JDFLoc appendValueLocLoc​(int iSkip)
        Appends element Loc to the end of the iSkip'th subelement Value
        Overrides:
        appendValueLocLoc in class JDFAbstractState
        Parameters:
        iSkip - number of Value elements to skip (iSkip=0 -> first Value element)
        Returns:
        JDFLoc: newly created Loc element
      • setValueAllowedValue

        public void setValueAllowedValue​(int iSkip,
                                         java.lang.String value)
        Sets the AllowedValue attribute of the i-th subelement Value
        Parameters:
        iSkip - the number of Value elements to skip
        value - value to set the attribute to
      • getValueAllowedValue

        public final java.lang.String getValueAllowedValue​(int iSkip)
        Gets the AllowedValue attribute of the iSkip'th subelement Value
        Parameters:
        iSkip - the number of Value elements to skip
        Returns:
        String: the attribute value
      • setValueValueUsage

        public void setValueValueUsage​(int iSkip,
                                       JDFBaseDataTypes.EnumFitsValue value)
        Sets the ValueUsage attribute of the iSkip'th subelement Value
        Parameters:
        iSkip - the number of Value elements to skip
        value - value to set the attribute to
      • getValueValueUsage

        public final JDFBaseDataTypes.EnumFitsValue getValueValueUsage​(int iSkip)
        Gets the value of attribute ValueUsage of the iSkip'th subelement Value
        Parameters:
        iSkip - the number of Value elements to skip
        Returns:
        EnumFitsValue: the attribute value
      • addValue

        public void addValue​(java.lang.String value,
                             JDFBaseDataTypes.EnumFitsValue testlists)
        Description copied from class: JDFAbstractState
        add a value to the list of values defined by testlists
        Specified by:
        addValue in class JDFAbstractState
        Parameters:
        value - value to test
        testlists - switches between Allowed test lists and Present test lists. Has two values: Allowed and Present.
      • fitsValue

        public final boolean fitsValue​(java.lang.String value,
                                       JDFBaseDataTypes.EnumFitsValue testlists)
        fitsValue - checks whether value matches the Allowed/Present test lists specified for this State
        Specified by:
        fitsValue in class JDFAbstractState
        Parameters:
        value - value to test
        testlists - the test lists the value has to match. In this State the test lists are ValueList AND ValueMod.
        Choose one of two values: FitsValue_Allowed or FitsValue_Present. (Defaults to Allowed)
        Returns:
        boolean - true, if value matches testlists or if AllowedValueList and AllowedValueMod are not specified