NX01: Fixed javadoc fatal errors

This commit is contained in:
Willem Cazander 2025-12-28 01:38:03 +01:00
parent 907dcadb77
commit 924586fb6b
5 changed files with 3 additions and 14 deletions

View file

@ -80,9 +80,9 @@ public class EldModuleLoader implements X4OLanguageModuleLoader {
* @param session The session we run in. * @param session The session we run in.
* @param language The local Language to load for. * @param language The local Language to load for.
* @param module The language module to load it into. * @param module The language module to load it into.
* @throws X4OLanguageModuleLoaderException When eld language could not be loaded. * @throws X4OLanguageModuleLoaderException When eld language could not be loaded.s
* @see org.x4o.xml.lang.X4OLanguageModuleLoader#loadLanguageModule(org.x4o.xml.lang.X4OLanguageLocal, org.x4o.xml.lang.X4OLanguageModuleLocal)
*/ */
@Override
public void loadLanguageModule(X4OLanguageSession session, X4OLanguageLocal language, X4OLanguageModuleLocal module) public void loadLanguageModule(X4OLanguageSession session, X4OLanguageLocal language, X4OLanguageModuleLocal module)
throws X4OLanguageModuleLoaderException { throws X4OLanguageModuleLoaderException {
logger.fine("Loading name eld file from resource: " + eldResource); logger.fine("Loading name eld file from resource: " + eldResource);

View file

@ -88,7 +88,6 @@ public class EldModuleLoaderCore implements X4OLanguageModuleLoader {
* @param session The session to run in. * @param session The session to run in.
* @param language The langauge to load for. * @param language The langauge to load for.
* @param languageModule The module to load it in. * @param languageModule The module to load it in.
* @see org.x4o.xml.lang.X4OLanguageModuleLoader#loadLanguageModule(org.x4o.xml.lang.X4OLanguageLocal, org.x4o.xml.lang.X4OLanguageModuleLocald)
*/ */
@Override @Override
public void loadLanguageModule(X4OLanguageSession session, X4OLanguageLocal language, X4OLanguageModuleLocal languageModule) public void loadLanguageModule(X4OLanguageSession session, X4OLanguageLocal language, X4OLanguageModuleLocal languageModule)

View file

@ -61,7 +61,6 @@ abstract public class AbstractX4OReader<T> extends AbstractX4OReaderSession<T> i
* @throws X4OConnectionException Is thrown after x4o exception. * @throws X4OConnectionException Is thrown after x4o exception.
* @throws SAXException Is thrown after sax xml exception. * @throws SAXException Is thrown after sax xml exception.
* @throws IOException Is thrown after io exception. * @throws IOException Is thrown after io exception.
* @see org.x4o.xml.io.X4OReaderSession#readSession(java.io.InputStream,java.lang.String,java.net.URL)
*/ */
public T readFile(String fileName) throws X4OConnectionException, SAXException, IOException, FileNotFoundException { public T readFile(String fileName) throws X4OConnectionException, SAXException, IOException, FileNotFoundException {
try (X4OLanguageSession session = createLanguageSession()) { try (X4OLanguageSession session = createLanguageSession()) {
@ -78,7 +77,6 @@ abstract public class AbstractX4OReader<T> extends AbstractX4OReaderSession<T> i
* @throws X4OConnectionException Is thrown after x4o exception. * @throws X4OConnectionException Is thrown after x4o exception.
* @throws SAXException Is thrown after sax xml exception. * @throws SAXException Is thrown after sax xml exception.
* @throws IOException Is thrown after io exception. * @throws IOException Is thrown after io exception.
* @see org.x4o.xml.io.X4OReaderSession#readSession(java.io.InputStream,java.lang.String,java.net.URL)
*/ */
public T readFile(File file) throws X4OConnectionException, SAXException, IOException, FileNotFoundException { public T readFile(File file) throws X4OConnectionException, SAXException, IOException, FileNotFoundException {
try (X4OLanguageSession session = createLanguageSession()) { try (X4OLanguageSession session = createLanguageSession()) {
@ -94,7 +92,6 @@ abstract public class AbstractX4OReader<T> extends AbstractX4OReaderSession<T> i
* @throws X4OConnectionException Is thrown after x4o exception. * @throws X4OConnectionException Is thrown after x4o exception.
* @throws SAXException Is thrown after sax xml exception. * @throws SAXException Is thrown after sax xml exception.
* @throws IOException Is thrown after io exception. * @throws IOException Is thrown after io exception.
* @see org.x4o.xml.io.X4OReaderSession#readSession(java.io.InputStream,java.lang.String,java.net.URL)
*/ */
public T readResource(String resourceName) throws X4OConnectionException, SAXException, IOException { public T readResource(String resourceName) throws X4OConnectionException, SAXException, IOException {
try (X4OLanguageSession session = createLanguageSession()) { try (X4OLanguageSession session = createLanguageSession()) {
@ -110,7 +107,6 @@ abstract public class AbstractX4OReader<T> extends AbstractX4OReaderSession<T> i
* @throws X4OConnectionException Is thrown after x4o exception. * @throws X4OConnectionException Is thrown after x4o exception.
* @throws SAXException Is thrown after sax xml exception. * @throws SAXException Is thrown after sax xml exception.
* @throws IOException Is thrown after io exception. * @throws IOException Is thrown after io exception.
* @see org.x4o.xml.io.X4OReaderSession#readSession(java.io.InputStream,java.lang.String,java.net.URL)
*/ */
public T readString(String xmlString) throws X4OConnectionException, SAXException, IOException { public T readString(String xmlString) throws X4OConnectionException, SAXException, IOException {
try (X4OLanguageSession session = createLanguageSession()) { try (X4OLanguageSession session = createLanguageSession()) {
@ -126,7 +122,6 @@ abstract public class AbstractX4OReader<T> extends AbstractX4OReaderSession<T> i
* @throws X4OConnectionException Is thrown after x4o exception. * @throws X4OConnectionException Is thrown after x4o exception.
* @throws SAXException Is thrown after sax xml exception. * @throws SAXException Is thrown after sax xml exception.
* @throws IOException Is thrown after io exception. * @throws IOException Is thrown after io exception.
* @see org.x4o.xml.io.X4OReaderSession#readSession(java.io.InputStream,java.lang.String,java.net.URL)
*/ */
public T readUrl(URL url) throws X4OConnectionException, SAXException, IOException { public T readUrl(URL url) throws X4OConnectionException, SAXException, IOException {
try (X4OLanguageSession session = createLanguageSession()) { try (X4OLanguageSession session = createLanguageSession()) {

View file

@ -65,7 +65,6 @@ public interface X4OReader<T> extends X4OConnection {
* @throws X4OConnectionException Is thrown after x4o exception. * @throws X4OConnectionException Is thrown after x4o exception.
* @throws SAXException Is thrown after sax xml exception. * @throws SAXException Is thrown after sax xml exception.
* @throws IOException Is thrown after io exception. * @throws IOException Is thrown after io exception.
* @see org.x4o.xml.io.X4OReaderSession#readSession(java.io.InputStream,java.lang.String,java.net.URL)
*/ */
T readFile(String fileName) throws X4OConnectionException, SAXException, IOException, FileNotFoundException; T readFile(String fileName) throws X4OConnectionException, SAXException, IOException, FileNotFoundException;
@ -77,7 +76,6 @@ public interface X4OReader<T> extends X4OConnection {
* @throws X4OConnectionException Is thrown after x4o exception. * @throws X4OConnectionException Is thrown after x4o exception.
* @throws SAXException Is thrown after sax xml exception. * @throws SAXException Is thrown after sax xml exception.
* @throws IOException Is thrown after io exception. * @throws IOException Is thrown after io exception.
* @see org.x4o.xml.io.X4OReaderSession#readSession(java.io.InputStream,java.lang.String,java.net.URL)
*/ */
T readFile(File file) throws X4OConnectionException, SAXException, IOException, FileNotFoundException; T readFile(File file) throws X4OConnectionException, SAXException, IOException, FileNotFoundException;
@ -88,7 +86,6 @@ public interface X4OReader<T> extends X4OConnection {
* @throws X4OConnectionException Is thrown after x4o exception. * @throws X4OConnectionException Is thrown after x4o exception.
* @throws SAXException Is thrown after sax xml exception. * @throws SAXException Is thrown after sax xml exception.
* @throws IOException Is thrown after io exception. * @throws IOException Is thrown after io exception.
* @see org.x4o.xml.io.X4OReaderSession#readSession(java.io.InputStream,java.lang.String,java.net.URL)
*/ */
T readResource(String resourceName) throws X4OConnectionException, SAXException, IOException; T readResource(String resourceName) throws X4OConnectionException, SAXException, IOException;
@ -99,7 +96,6 @@ public interface X4OReader<T> extends X4OConnection {
* @throws X4OConnectionException Is thrown after x4o exception. * @throws X4OConnectionException Is thrown after x4o exception.
* @throws SAXException Is thrown after sax xml exception. * @throws SAXException Is thrown after sax xml exception.
* @throws IOException Is thrown after io exception. * @throws IOException Is thrown after io exception.
* @see org.x4o.xml.io.X4OReaderSession#readSession(java.io.InputStream,java.lang.String,java.net.URL)
*/ */
T readString(String xmlString) throws X4OConnectionException, SAXException, IOException; T readString(String xmlString) throws X4OConnectionException, SAXException, IOException;
@ -110,7 +106,6 @@ public interface X4OReader<T> extends X4OConnection {
* @throws X4OConnectionException Is thrown after x4o exception. * @throws X4OConnectionException Is thrown after x4o exception.
* @throws SAXException Is thrown after sax xml exception. * @throws SAXException Is thrown after sax xml exception.
* @throws IOException Is thrown after io exception. * @throws IOException Is thrown after io exception.
* @see org.x4o.xml.io.X4OReaderSession#readSession(java.io.InputStream,java.lang.String,java.net.URL)
*/ */
T readUrl(URL url) throws X4OConnectionException, SAXException, IOException; T readUrl(URL url) throws X4OConnectionException, SAXException, IOException;
} }

View file

@ -67,7 +67,7 @@ public abstract class AbstractX4OPhase implements X4OPhase {
/** /**
* Empty method. * Empty method.
* *
* @param elementLanguage The language to run phase for. * @param languageSession The language to run phase for.
* @throws X4OPhaseException when phase has error. * @throws X4OPhaseException when phase has error.
*/ */
public void runPhase(X4OLanguageSession languageSession) throws X4OPhaseException { public void runPhase(X4OLanguageSession languageSession) throws X4OPhaseException {