Example #1
0
        protected internal override AttributeInfo getTheAttributeInfo()
        {
            AttributeInfo ai = base.getTheAttributeInfo();

            if (LocalName.Equals(ElementName.SURFACE))
            {
                ai.updateReplace(atrInfoTable);
            }
            return(ai);
        }
Example #2
0
        protected internal override AttributeInfo getTheAttributeInfo()
        {
            AttributeInfo ai = base.getTheAttributeInfo();

            KElement parent = getParentNode_KElement();

            if (parent is JDFAbstractState)
            {
                ai.updateReplace(atrInfoTable);
            }

            if (parent is JDFMatrixState)
            {
                ai.updateReplace(atrInfoTable_matrix);
            }
            else if (parent is JDFPDFPathState)
            {
                ai.updateReplace(atrInfoTable_pdfpath);
            }
            else if (parent is JDFStringState)
            {
                ai.updateReplace(atrInfoTable_string);
            }
            else if (parent is JDFMatrixEvaluation)
            {
                ai.updateReplace(atrInfoTable_matrixEval);
            }
            else if (parent is JDFPDFPathEvaluation)
            {
                ai.updateReplace(atrInfoTable_pdfpathEval);
            }
            else if (parent is JDFStringEvaluation)
            {
                ai.updateReplace(atrInfoTable_stringEval);
            }

            return(ai);
        }