From commits-return-22027-archive-asf-public=cust-asf.ponee.io@jackrabbit.apache.org Sun Oct 6 18:25:22 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id D4538180677 for ; Sun, 6 Oct 2019 20:25:21 +0200 (CEST) Received: (qmail 5845 invoked by uid 500); 6 Oct 2019 18:25:16 -0000 Mailing-List: contact commits-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list commits@jackrabbit.apache.org Received: (qmail 5144 invoked by uid 99); 6 Oct 2019 18:25:13 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Oct 2019 18:25:13 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id DC9A93A39D3 for ; Sun, 6 Oct 2019 18:25:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1868068 [20/26] - in /jackrabbit/site/live/filevault: ./ apidocs/ apidocs/org/apache/jackrabbit/vault/fs/ apidocs/org/apache/jackrabbit/vault/fs/api/ apidocs/org/apache/jackrabbit/vault/fs/api/class-use/ apidocs/org/apache/jackrabbit/vault... Date: Sun, 06 Oct 2019 18:25:03 -0000 To: commits@jackrabbit.apache.org From: kwin@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20191006182510.DC9A93A39D3@svn01-us-west.apache.org> Added: jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/class-use/ValidationViolation.html URL: http://svn.apache.org/viewvc/jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/class-use/ValidationViolation.html?rev=1868068&view=auto ============================================================================== --- jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/class-use/ValidationViolation.html (added) +++ jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/class-use/ValidationViolation.html Sun Oct 6 18:24:57 2019 @@ -0,0 +1,226 @@ + + + + + + +Uses of Class org.apache.jackrabbit.vault.validation.ValidationViolation (Apache Jackrabbit FileVault 3.4.1-SNAPSHOT API) + + + + + + + + + + +
+

Uses of Class
org.apache.jackrabbit.vault.validation.ValidationViolation

+
+
+ +
+ + + + +

Copyright © 2019 The Apache Software Foundation. All Rights Reserved.

+ + \ No newline at end of file Added: jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/package-frame.html URL: http://svn.apache.org/viewvc/jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/package-frame.html?rev=1868068&view=auto ============================================================================== --- jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/package-frame.html (added) +++ jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/package-frame.html Sun Oct 6 18:24:57 2019 @@ -0,0 +1,22 @@ + + + + + + +org.apache.jackrabbit.vault.validation (Apache Jackrabbit FileVault 3.4.1-SNAPSHOT API) + + + + +

org.apache.jackrabbit.vault.validation

+ + + \ No newline at end of file Added: jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/package-summary.html URL: http://svn.apache.org/viewvc/jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/package-summary.html?rev=1868068&view=auto ============================================================================== --- jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/package-summary.html (added) +++ jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/package-summary.html Sun Oct 6 18:24:57 2019 @@ -0,0 +1,160 @@ + + + + + + +org.apache.jackrabbit.vault.validation (Apache Jackrabbit FileVault 3.4.1-SNAPSHOT API) + + + + + + + + + + +
+

@Version(value="1.0.0") +

+

Package org.apache.jackrabbit.vault.validation

+
+
+ +
+ + + + +

Copyright © 2019 The Apache Software Foundation. All Rights Reserved.

+ + \ No newline at end of file Added: jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/package-tree.html URL: http://svn.apache.org/viewvc/jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/package-tree.html?rev=1868068&view=auto ============================================================================== --- jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/package-tree.html (added) +++ jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/package-tree.html Sun Oct 6 18:24:57 2019 @@ -0,0 +1,144 @@ + + + + + + +org.apache.jackrabbit.vault.validation Class Hierarchy (Apache Jackrabbit FileVault 3.4.1-SNAPSHOT API) + + + + + + + + + + +
+

Hierarchy For Package org.apache.jackrabbit.vault.validation

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ + + + +

Copyright © 2019 The Apache Software Foundation. All Rights Reserved.

+ + \ No newline at end of file Added: jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/package-use.html URL: http://svn.apache.org/viewvc/jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/package-use.html?rev=1868068&view=auto ============================================================================== --- jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/package-use.html (added) +++ jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/package-use.html Sun Oct 6 18:24:57 2019 @@ -0,0 +1,166 @@ + + + + + + +Uses of Package org.apache.jackrabbit.vault.validation (Apache Jackrabbit FileVault 3.4.1-SNAPSHOT API) + + + + + + + + + + +
+

Uses of Package
org.apache.jackrabbit.vault.validation

+
+
+ +
+ + + + +

Copyright © 2019 The Apache Software Foundation. All Rights Reserved.

+ + \ No newline at end of file Added: jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/spi/DocumentViewXmlValidator.html URL: http://svn.apache.org/viewvc/jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/spi/DocumentViewXmlValidator.html?rev=1868068&view=auto ============================================================================== --- jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/spi/DocumentViewXmlValidator.html (added) +++ jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/spi/DocumentViewXmlValidator.html Sun Oct 6 18:24:57 2019 @@ -0,0 +1,266 @@ + + + + + + +DocumentViewXmlValidator (Apache Jackrabbit FileVault 3.4.1-SNAPSHOT API) + + + + + + + + + + + +
+
org.apache.jackrabbit.vault.validation.spi
+

Interface DocumentViewXmlValidator

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    Validator
    +
    +
    +
    +
    @ProviderType
    +public interface DocumentViewXmlValidator
    +extends Validator
    +
    Similar to a SAX content handler but specific for (enhanced) Document View XML files within content packages. + + Allows to add violations.
    +
    +
    See Also:
    +
    Filevault DocView
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      java.util.Collection<ValidationMessage>validate(DocViewNode node, + java.lang.String nodePath, + java.nio.file.Path filePath, + boolean isRoot) +
      Called for the beginning of each new JCR document view node (not part of the SAXHandler interface).
      +
      +
        +
      • + + +

        Methods inherited from interface org.apache.jackrabbit.vault.validation.spi.Validator

        +done
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        validate

        +
        @CheckForNull
        +java.util.Collection<ValidationMessage> validate(@Nonnull
        +                                                               DocViewNode node,
        +                                                               @Nonnull
        +                                                               java.lang.String nodePath,
        +                                                               @Nonnull
        +                                                               java.nio.file.Path filePath,
        +                                                               boolean isRoot)
        +
        Called for the beginning of each new JCR document view node (not part of the SAXHandler interface). + Deserialization of the node information was already done when this method is called! + The node and attribute names have the string representation outlined in Name (i.e. including the expanded namespace uri)
        +
        +
        Parameters:
        +
        node - the node which is represented by the current XML element
        +
        nodePath - the absolute repository path of the given node
        +
        filePath - the relative file path of the docview file containing this node
        +
        isRoot - true in case this is the root node of the docview file otherwise false
        +
        Returns:
        +
        validation messages or null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2019 The Apache Software Foundation. All Rights Reserved.

+ + \ No newline at end of file Added: jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/spi/FilterValidator.html URL: http://svn.apache.org/viewvc/jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/spi/FilterValidator.html?rev=1868068&view=auto ============================================================================== --- jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/spi/FilterValidator.html (added) +++ jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/spi/FilterValidator.html Sun Oct 6 18:24:57 2019 @@ -0,0 +1,244 @@ + + + + + + +FilterValidator (Apache Jackrabbit FileVault 3.4.1-SNAPSHOT API) + + + + + + + + + + + +
+
org.apache.jackrabbit.vault.validation.spi
+

Interface FilterValidator

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    Validator
    +
    +
    +
    +
    @ProviderType
    +public interface FilterValidator
    +extends Validator
    +
    This validator is called for each META-INF/vault/filter.xml being found
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        validate

        +
        @CheckForNull
        +java.util.Collection<ValidationMessage> validate(@Nonnull
        +                                                               WorkspaceFilter filter)
        +
        +
        Parameters:
        +
        filter - the deserialized filter
        +
        Returns:
        +
        validation messages or null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2019 The Apache Software Foundation. All Rights Reserved.

+ + \ No newline at end of file Added: jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/spi/GenericJcrDataValidator.html URL: http://svn.apache.org/viewvc/jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/spi/GenericJcrDataValidator.html?rev=1868068&view=auto ============================================================================== --- jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/spi/GenericJcrDataValidator.html (added) +++ jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/spi/GenericJcrDataValidator.html Sun Oct 6 18:24:57 2019 @@ -0,0 +1,279 @@ + + + + + + +GenericJcrDataValidator (Apache Jackrabbit FileVault 3.4.1-SNAPSHOT API) + + + + + + + + + + + +
+
org.apache.jackrabbit.vault.validation.spi
+

Interface GenericJcrDataValidator

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    Validator
    +
    +
    +
    +
    @ProviderType
    +public interface GenericJcrDataValidator
    +extends Validator
    +
    Low-level validator for all files below jcr_root. + For Document View XML files rather use DocumentViewXmlValidator. + For validators only considering file name or node name use NodePathValidator
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        validateJcrData

        +
        java.util.Collection<ValidationMessage> validateJcrData(@Nonnull
        +                                                        java.io.InputStream input,
        +                                                        @Nonnull
        +                                                        java.nio.file.Path filePath,
        +                                                        @Nonnull
        +                                                        java.util.Map<java.lang.String,java.lang.Integer> nodePathsAndLineNumbers)
        +                                                 throws java.io.IOException
        +
        Only called in case shouldValidateJcrData(Path) returned true for the given path.
        +
        +
        Parameters:
        +
        input - the input stream of the file which ends up below jcr_root in the package located at filePath
        +
        filePath - is relative to the jcr_root directory (i.e. does not start with jcr_root)
        +
        nodePathsAndLineNumbers - a map which should be filled with all node path and their according line numbers if nodes are detected in the given input
        +
        Returns:
        +
        a collection of validation messages or null
        +
        Throws:
        +
        java.io.IOException - in case the input stream could not be accessed
        +
        +
      • +
      + + + +
        +
      • +

        shouldValidateJcrData

        +
        boolean shouldValidateJcrData(@Nonnull
        +                              java.nio.file.Path filePath)
        +
        +
        Parameters:
        +
        filePath - is relative to the jcr_root directory (i.e. does not start with jcr_root)
        +
        Returns:
        +
        true in case the file should be validated, otherwise false
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2019 The Apache Software Foundation. All Rights Reserved.

+ + \ No newline at end of file Added: jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/spi/GenericMetaInfDataValidator.html URL: http://svn.apache.org/viewvc/jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/spi/GenericMetaInfDataValidator.html?rev=1868068&view=auto ============================================================================== --- jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/spi/GenericMetaInfDataValidator.html (added) +++ jackrabbit/site/live/filevault/apidocs/org/apache/jackrabbit/vault/validation/spi/GenericMetaInfDataValidator.html Sun Oct 6 18:24:57 2019 @@ -0,0 +1,274 @@ + + + + + + +GenericMetaInfDataValidator (Apache Jackrabbit FileVault 3.4.1-SNAPSHOT API) + + + + + + + + + + + +
+
org.apache.jackrabbit.vault.validation.spi
+

Interface GenericMetaInfDataValidator

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    Validator
    +
    +
    +
    +
    @ProviderType
    +public interface GenericMetaInfDataValidator
    +extends Validator
    +
    Called for each file below META-INF (including vault/filter.xml and vault/properties.xml)
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        validateMetaInfData

        +
        @CheckForNull
        +java.util.Collection<ValidationMessage> validateMetaInfData(@Nonnull
        +                                                                          java.io.InputStream input,
        +                                                                          @Nonnull
        +                                                                          java.nio.file.Path filePath)
        +                                                                   throws java.io.IOException
        +
        Only called in case shouldValidateMetaInfData(Path) returned true for the given path.
        +
        +
        Parameters:
        +
        input - the input stream of the META-INF file located at filePath
        +
        filePath - is relative to the META-INF directory (i.e. does not start with META-INF)
        +
        Returns:
        +
        a collection of validation messages or null
        +
        Throws:
        +
        java.io.IOException - in case the input stream could not be accessed
        +
        +
      • +
      + + + +
        +
      • +

        shouldValidateMetaInfData

        +
        boolean shouldValidateMetaInfData(@Nonnull
        +                                  java.nio.file.Path filePath)
        +
        +
        Parameters:
        +
        filePath - is relative to the META-INF directory (i.e. does not start with META-INF)
        +
        Returns:
        +
        true in case the file should be validated, otherwise false
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2019 The Apache Software Foundation. All Rights Reserved.

+ + \ No newline at end of file