public class InfoBookParser
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
InfoBookParser.IAppendixFactory |
protected static interface |
InfoBookParser.IAppendixItemFactory |
protected static interface |
InfoBookParser.IInfoSectionFactory |
static class |
InfoBookParser.InfoBookException |
static class |
InfoBookParser.InvalidAppendixException |
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<java.lang.String,org.apache.commons.lang3.tuple.Pair<InfoSection,java.lang.Integer>> |
configLinks |
| Constructor and Description |
|---|
InfoBookParser() |
| Modifier and Type | Method and Description |
|---|---|
protected static InfoSection |
buildSection(InfoSection parent,
int childIndex,
org.w3c.dom.Element sectionElement) |
protected static SectionAppendix |
createAppendix(java.lang.String type,
org.w3c.dom.Element node) |
protected static SectionAppendix |
createAppendix(java.lang.String type,
net.minecraft.item.ItemStack itemStack) |
protected static InfoSection |
createSection(InfoSection parent,
int childIndex,
java.lang.String type,
java.lang.String unlocalizedName,
java.util.ArrayList<java.lang.String> paragraphs,
java.util.List<SectionAppendix> appendixes,
java.util.ArrayList<java.lang.String> tagList) |
static InfoSection |
initializeInfoBook()
Initialize the infobook from the xml file.
|
public static java.util.Map<java.lang.String,org.apache.commons.lang3.tuple.Pair<InfoSection,java.lang.Integer>> configLinks
public static InfoSection initializeInfoBook()
protected static InfoSection buildSection(InfoSection parent, int childIndex, org.w3c.dom.Element sectionElement)
protected static InfoSection createSection(InfoSection parent, int childIndex, java.lang.String type, java.lang.String unlocalizedName, java.util.ArrayList<java.lang.String> paragraphs, java.util.List<SectionAppendix> appendixes, java.util.ArrayList<java.lang.String> tagList)
protected static SectionAppendix createAppendix(java.lang.String type, org.w3c.dom.Element node) throws InfoBookParser.InvalidAppendixException
protected static SectionAppendix createAppendix(java.lang.String type, net.minecraft.item.ItemStack itemStack) throws InfoBookParser.InvalidAppendixException