org.digidoc4j.ddoc.c14n.TinyXMLParser_NestedElement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ddoc4j Show documentation
Show all versions of ddoc4j Show documentation
DDoc4J is Java Library for validating DDOC documents. It's not recommended to use it directly but rather through DigiDoc4J's API.
The newest version!
package org.digidoc4j.ddoc.c14n;
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("