Schnittstelle PropertyVisitor


public interface PropertyVisitor
Interface to be implemented by a property visitor
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    visit(CollectionProperty<?,?> property)
    Called upon visiting a collection property
    boolean
    Called upon visiting a collection property, where the collection items are wrapped in a JAXBElement instance.
    boolean
    Called upon visiting a collection property, where the collection items are wrapped in a JAXBElement instance and are of a java primitive type
    boolean
    visit(ItemProperty<?,?> property)
    Called upon visitng a collection element
    boolean
    visit(SingleProperty<?,?> property)
    Called upon visitng a single-value property
    void
    visit(Object value)
    Called upon visiting a top-level object
  • Methodendetails

    • visit

      void visit(Object value)
      Called upon visiting a top-level object
      Parameter:
      value - The Object to be visited
    • visit

      boolean visit(ItemProperty<?,?> property)
      Called upon visitng a collection element
      Parameter:
      property - The property being visited
      Gibt zurück:
      true if visiting shall continue, false if visiting should be finished
    • visit

      boolean visit(SingleProperty<?,?> property)
      Called upon visitng a single-value property
      Parameter:
      property - The property being visited
      Gibt zurück:
      true if visiting shall continue, false if visiting should be finished
    • visit

      boolean visit(CollectionProperty<?,?> property)
      Called upon visiting a collection property
      Parameter:
      property - The property being visited
      Gibt zurück:
      true if visiting shall continue, false if visiting should be finished
    • visit

      boolean visit(IndirectCollectionProperty<?,?> property)
      Called upon visiting a collection property, where the collection items are wrapped in a JAXBElement instance.
      Parameter:
      property - The property being visited
      Gibt zurück:
      true if visiting shall continue, false if visiting should be finished
    • visit

      boolean visit(IndirectPrimitiveCollectionProperty<?,?> property)
      Called upon visiting a collection property, where the collection items are wrapped in a JAXBElement instance and are of a java primitive type
      Parameter:
      property - The property being visited
      Gibt zurück:
      true if visiting shall continue, false if visiting should be finished