All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sweble.wikitext.engine.log.PreprocessorLog Maven / Gradle / Ivy

Go to download

A minimal engine using the Sweble Wikitext Parser to process articles in the context of a MediaWiki-like configuration.

There is a newer version: 3.1.9
Show newest version
/* 
 * This file is auto-generated.
 * DO NOT MODIFY MANUALLY!
 * 
 * Generated by AstNodeGenerator.
 * Last generated: 2014-09-12 00:38:33.
 */

package org.sweble.wikitext.engine.log;

import de.fau.cs.osr.ptk.common.ast.*;




/**
 * 

Preprocessor Log

*/ public class PreprocessorLog extends ContentNode { private static final long serialVersionUID = 1L; // ========================================================================= public PreprocessorLog() { super(); } // ========================================================================= // Properties private boolean forInclusion; public final boolean getForInclusion() { return this.forInclusion; } public final boolean setForInclusion(boolean forInclusion) { boolean old = this.forInclusion; this.forInclusion = forInclusion; return old; } private Long timeNeeded; public final Long getTimeNeeded() { return this.timeNeeded; } public final Long setTimeNeeded(Long timeNeeded) { Long old = this.timeNeeded; this.timeNeeded = timeNeeded; return old; } @Override public final int getPropertyCount() { return 2; } @Override public final AstNodePropertyIterator propertyIterator() { return new AstNodePropertyIterator() { @Override protected int getPropertyCount() { return 2; } @Override protected String getName(int index) { switch (index) { case 0: return "forInclusion"; case 1: return "timeNeeded"; default: throw new IndexOutOfBoundsException(); } } @Override protected Object getValue(int index) { switch (index) { case 0: return PreprocessorLog.this.getForInclusion(); case 1: return PreprocessorLog.this.getTimeNeeded(); default: throw new IndexOutOfBoundsException(); } } @Override protected Object setValue(int index, Object value) { switch (index) { case 0: return PreprocessorLog.this.setForInclusion((Boolean) value); case 1: return PreprocessorLog.this.setTimeNeeded((Long) value); default: throw new IndexOutOfBoundsException(); } } }; } // ========================================================================= // Children // ========================================================================= }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy