ee.sk.digidoc.c14n.TinyXMLParser_NestedElement Maven / Gradle / Ivy
package ee.sk.digidoc.c14n;
import ee.sk.digidoc.c14n.TinyXMLParser_Fragment;
import java.util.ArrayList;
public final class TinyXMLParser_NestedElement
{
public TinyXMLParser_Fragment Begin;
public TinyXMLParser_Fragment End;
public TinyXMLParser_Fragment NameFragment;
public TinyXMLParser_Fragment InnerBegin;
public TinyXMLParser_Fragment InnerEnd;
public ArrayList Children;
public TinyXMLParser_NestedElement()
{
}
public static TinyXMLParser_NestedElement Of(TinyXMLParser_Fragment f)
{
TinyXMLParser_NestedElement n;
TinyXMLParser_Fragment i;
boolean seek;
TinyXMLParser_NestedElement nc;
n = new TinyXMLParser_NestedElement();
n.Begin = f;
if (!n.Begin.get_Item(""))
{
n.End = i;
seek = false;
}
else
{
if (i.get_Item("["))
{
n.InnerBegin = i;
n.Children = new ArrayList();
}
else
{
if (i.get_Item("]"))
{
n.InnerEnd = i;
}
else
{
if (i.get_Item("