io.github.mmm.marshall.tvm.xml.impl.TvmXmlState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mmm-marshall-tvm-xml Show documentation
Show all versions of mmm-marshall-tvm-xml Show documentation
Implementations of mmm-marshall API for XML using TeaVM.
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package io.github.mmm.marshall.tvm.xml.impl;
import java.util.Objects;
import io.github.mmm.marshall.spi.StructuredNodeType;
import io.github.mmm.marshall.spi.StructuredNode;
/**
* Simple node of a stack.
*/
class TvmXmlState extends StructuredNode {
final String tag;
/**
* The constructor.
*
* @param parent the parent node.
* @param tag the closing tag.
*/
TvmXmlState(TvmXmlState parent, StructuredNodeType type, String tag) {
super(parent, type);
Objects.requireNonNull(tag);
this.tag = tag;
}
}