org.sweble.wikitext.lazy.parser.TableHeader 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.*;
/**
* TableHeader
* Grammar
*/
public class TableHeader
extends InnerNode.InnerNode2
{
private static final long serialVersionUID = 1L;
// =========================================================================
public TableHeader()
{
super(new NodeList(), new NodeList());
}
public TableHeader(NodeList xmlAttributes, NodeList body)
{
super(xmlAttributes, body);
}
@Override
public int getNodeType()
{
return org.sweble.wikitext.lazy.AstNodeTypes.NT_TABLE_HEADER;
}
// =========================================================================
// 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;
}
// =========================================================================
}