Interface IAnyContent

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

A format-neutral representation of unmodeled content captured from an assembly instance that declares <any/> in its model.

Implementations hold native content representations specific to each serialization format (e.g., W3C DOM for XML, Jackson ObjectNode for JSON). Consumers needing format-specific access should use instanceof checks on the implementation class.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determine if this content container has no captured content.
  • Method Details

    • isEmpty

      boolean isEmpty()
      Determine if this content container has no captured content.
      Returns:
      true if no unmodeled content was captured, false otherwise