evaluateCompatibilityFlag(flag: String): Boolean 指定された名前の互換性フラグの値を返します。 DataWeave バージョン 2.5.0 で導入されました。 パラメーター 名前 型 説明 flag (フラグ) String (文字列) 評価する互換性フラグの名前。 例 次の例では、現在の DataWeave バージョンで com.mulesoft.dw.xml_reader.honourMixedContentStructure 互換性フラグの値を取得します。 ソース %dw 2.0 output application/json --- { "com.mulesoft.dw.xml_reader.honourMixedContentStructure": evaluateCompatibilityFlag("com.mulesoft.dw.xml_reader.honourMixedContentStructure") } 出力 { "com.mulesoft.dw.xml_reader.honourMixedContentStructure": true }
evaluateCompatibilityFlag(flag: String): Boolean 指定された名前の互換性フラグの値を返します。 DataWeave バージョン 2.5.0 で導入されました。 パラメーター 名前 型 説明 flag (フラグ) String (文字列) 評価する互換性フラグの名前。 例 次の例では、現在の DataWeave バージョンで com.mulesoft.dw.xml_reader.honourMixedContentStructure 互換性フラグの値を取得します。 ソース %dw 2.0 output application/json --- { "com.mulesoft.dw.xml_reader.honourMixedContentStructure": evaluateCompatibilityFlag("com.mulesoft.dw.xml_reader.honourMixedContentStructure") } 出力 { "com.mulesoft.dw.xml_reader.honourMixedContentStructure": true }