org.sweble.wikitext.lazy.parser.TableCell Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swc-parser-lazy Show documentation
Show all versions of swc-parser-lazy Show documentation
A parser for MediaWiki's Wikitext.
/*
* This file is auto-generated.
* DO NOT MODIFY MANUALLY!
*
* Generated by AstNodeGenerator.
* Last generated: 2014-09-12 00:37:37.
*/
package org.sweble.wikitext.lazy.parser;
import de.fau.cs.osr.ptk.common.ast.*;
/**
* TableCell
* Grammar
*/
public class TableCell
extends InnerNode.InnerNode2
{
private static final long serialVersionUID = 1L;
// =========================================================================
public TableCell()
{
super(new NodeList(), new NodeList());
}
public TableCell(NodeList xmlAttributes, NodeList body)
{
super(xmlAttributes, body);
}
@Override
public int getNodeType()
{
return org.sweble.wikitext.lazy.AstNodeTypes.NT_TABLE_CELL;
}
// =========================================================================
// Properties
// =========================================================================
// Children
public final void setXmlAttributes(NodeList xmlAttributes)
{
set(0, xmlAttributes);
}
public final NodeList getXmlAttributes()
{
return (NodeList) get(0);
}
public final void setBody(NodeList body)
{
set(1, body);
}
public final NodeList getBody()
{
return (NodeList) get(1);
}
private static final String[] CHILD_NAMES = new String[] {"xmlAttributes", "body"};
public final String[] getChildNames()
{
return CHILD_NAMES;
}
// =========================================================================
}