Package javax.jcr

Interface ItemVisitor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void visit​(Node node)
      This method is called when the ItemVisitor is passed to the accept method of a Node.
      void visit​(Property property)
      This method is called when the ItemVisitor is passed to the accept method of a Property.
    • Method Detail

      • visit

        void visit​(Property property)
            throws RepositoryException
        This method is called when the ItemVisitor is passed to the accept method of a Property. If this method throws an exception the visiting process is aborted.
        Parameters:
        property - The Property that is accepting this visitor.
        Throws:
        RepositoryException - if an error occurs
      • visit

        void visit​(Node node)
            throws RepositoryException
        This method is called when the ItemVisitor is passed to the accept method of a Node. If this method throws an exception the visiting process is aborted.
        Parameters:
        node - The Node
        Throws:
        RepositoryException - if an error occurs