Interface NodeDataTransformerContext


public interface NodeDataTransformerContext
Context used to transform data upon export.
See Also:
  • Method Details

    • getCurrentSchemaNode

      SchemaNode getCurrentSchemaNode()
      Returns the current data model node.
    • getValue

      Object getValue(SchemaNode aNode)
      Returns the value defined at the specified node. Only terminal nodes located in the same content (for example, in the same record) are interpreted, otherwise, an unpredictable result would be returned.
      Throws:
      UnsupportedOperationException - if the specified node is not terminal or is computed.
    • getValue

      default <T> T getValue(SchemaNode aSchemaNode, Class<T> aClass)
      Returns the value defined at the specified node.

      This method is equivalent to getValue(aSchemaNode) followed by a cast to the specified class.

      Throws:
      UnsupportedOperationException - if the specified node is not terminal or is computed.
      ClassCastException - if the value is not of the specified type.
      Since:
      6.2.2
      See Also:
    • isExportingForD3

      boolean isExportingForD3()
      Returns true if the archive export is performed in the context of a D3 broadcast.
    • getProcedureContext

      ProcedureContext getProcedureContext()
      Returns the procedure context associated with the archive export.