Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update javadocs
  • Loading branch information
nianma authored and Andrew Woods committed Feb 21, 2015
1 parent 59bf83f commit 0eef755
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
10 changes: 10 additions & 0 deletions pom.xml
Expand Up @@ -191,6 +191,16 @@
</resources>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.1</version>
<configuration>
<linksource>true</linksource>
<excludePackageNames>org.openarchives.oai.*:org.purl.*</excludePackageNames>
<sourcepath>src/main/java:target/generated-sources</sourcepath>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
Expand Down
Expand Up @@ -45,8 +45,11 @@ public class JcrPropertiesGenerator {
/**
* Generate dC.
*
* @param session the session
* @param obj the obj
* @param uriInfo the uri info
* @return the jAXB element
* @throws RepositoryException if repository exception occurred
*/
public JAXBElement<OaiDcType> generateDC(final Session session, final Container obj, final UriInfo uriInfo)
throws RepositoryException {
Expand Down
Expand Up @@ -21,7 +21,7 @@
/**
* An {@link InputStream} implementation which strips the leading XML
* Declaration of a XML document If the xml document starts with
* <code><?xml...?></code>, the implementation will skip these bytes and start
* {@code<?xml...?>}, the implementation will skip these bytes and start
* streaming directly after the XML declaration
*
* @author frank asseg
Expand Down Expand Up @@ -83,4 +83,4 @@ public int read() throws IOException {
return src.read();
}

}
}
10 changes: 5 additions & 5 deletions src/main/java/org/fcrepo/oai/service/OAIProviderService.java
Expand Up @@ -211,31 +211,31 @@ public void setPropertyIsPartOfSet(final String propertyIsPartOfSet) {

/**
* Set propertyOaiRepositoryName
* @param propertyOaiRepositoryName
* @param propertyOaiRepositoryName the oai repository name
*/
public void setPropertyOaiRepositoryName(final String propertyOaiRepositoryName) {
this.propertyOaiRepositoryName = propertyOaiRepositoryName;
}

/**
* Set propertyOaiDescription
* @param propertyOaiDescription
* @param propertyOaiDescription the oai description
*/
public void setPropertyOaiDescription(final String propertyOaiDescription) {
this.propertyOaiDescription = propertyOaiDescription;
}

/**
* Set propertyOaiAdminEmail
* @param propertyOaiAdminEmail
* @param propertyOaiAdminEmail the oai admin email
*/
public void setPropertyOaiAdminEmail(final String propertyOaiAdminEmail) {
this.propertyOaiAdminEmail = propertyOaiAdminEmail;
}

/**
* Set oaiNamespace
* @param oaiNamespace
* @param oaiNamespace the oai namespace
*/
public void setOaiNamespace(final String oaiNamespace) {
this.oaiNamespace = oaiNamespace;
Expand Down Expand Up @@ -280,7 +280,7 @@ public void setMetadataFormats(final Map<String, MetadataFormat> metadataFormats
/**
* Sets descriptive content.
*
* @param descriptiveContent
* @param descriptiveContent the descriptive content
*/
public void setDescriptiveContent(final Map<String, String> descriptiveContent) {
this.descriptiveContent = descriptiveContent;
Expand Down

0 comments on commit 0eef755

Please sign in to comment.