Class MessageContext<E extends MessageContext<E>>


  • public class MessageContext<E extends MessageContext<E>>
    extends Object
    A nested message processing context.
    Since:
    1.0
    Author:
    [email protected]
    • Method Detail

      • getParentContext

        public E getParentContext()
      • getField

        public FieldDescriptor getField()
        Gets the nested field.
        Returns:
        the descriptor of the nested field or null if this is the root context
      • getFieldPath

        public String getFieldPath()
        Gets the full path of the nested field.
        Returns:
        the full path of the nested field or null if this is the root context
      • getMessageDescriptor

        public Descriptor getMessageDescriptor()
      • isFieldMarked

        public boolean isFieldMarked​(int fieldNumber)
      • markField

        public boolean markField​(int fieldNumber)
        Mark a field as seen.
        Parameters:
        fieldNumber - the field number
        Returns:
        true if it was added, false if it was already there
      • getMaxSeenFieldNumber

        public int getMaxSeenFieldNumber()