Class SerializerArtifact

java.lang.Object
org.apache.jackrabbit.vault.fs.impl.AbstractArtifact
org.apache.jackrabbit.vault.fs.impl.SerializerArtifact
All Implemented Interfaces:
Artifact, Dumpable, ExportArtifact

public class SerializerArtifact extends AbstractArtifact implements ExportArtifact
Implements an output artifact that is based on a serializer, i.e. the preferred access method is AccessType.SPOOL
  • Constructor Details

    • SerializerArtifact

      public SerializerArtifact(Artifact parent, String name, String ext, ArtifactType type, Serializer serializer, long lastModified)
      Constructs a new artifact that is based on a content serializer.
      Parameters:
      parent - the parent artifact
      name - the name of the artifact
      ext - the extension of the artifact
      type - the type of the artifact
      serializer - the serializer to use for the content
      lastModified - the last modified date
      Throws:
      IllegalArgumentException - if the type is not suitable.
  • Method Details