com.softicar.platform.common.io.xml.parser.IXmlTag Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.io.xml.parser;
/**
* Represents an XML tag with a name and an index.
*
* @author Alexander Schmidt
*/
@FunctionalInterface
public interface IXmlTag {
/**
* The name of the tag.
*
* @return the tag name (never null)
*/
public String getName();
/**
* The zero-based index of the tag, relative to equally-named tags under the
* same parent node.
*
* Zero by default.
*
* @return the zero-based tag index
*/
default int getIndex() {
return 0;
}
}