package org.onap.aai.schemaservice.nodeschema;
-import com.google.common.base.CaseFormat;
-import com.google.common.collect.ArrayListMultimap;
-import com.google.common.collect.Multimap;
-
-import jakarta.xml.bind.JAXBException;
-
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
+import com.google.common.base.CaseFormat;
+import com.google.common.collect.ArrayListMultimap;
+import com.google.common.collect.Multimap;
+
+import jakarta.xml.bind.JAXBException;
+
/**
- * NodeIngestor - ingests A&AI OXM files per given config, serves DynamicJAXBContext per version
+ * NodeIngestor - ingests A&AI OXM files per given config, serves DynamicJAXBContext per version
*/
@Component
public class NodeIngestor {
/**
* Gets the DynamicJAXBContext for the given version
*
- * @param v
+ * @param v the schema version
* @return DynamicJAXBContext
*/
public DynamicJAXBContext getContextForVersion(SchemaVersion v) {
*
* @param nodeType - node type to check, must be in lower hyphen form (ie "type-name")
* @param v - schema version to check against
- * @return
+ * @return true if node type is contained in the given version
*/
public boolean hasNodeType(String nodeType, SchemaVersion v) {
return typesPerVersion.get(v).contains(nodeType);
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.4</version>
+ <version>3.4.1</version>
<configuration>
<failOnError>false</failOnError>
<doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>