org.xmlet.xsdparser.xsdelements.XsdAppInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xsdParser Show documentation
Show all versions of xsdParser Show documentation
A solution that parses a XSD file into a Java Structure.
The newest version!
package org.xmlet.xsdparser.xsdelements;
import org.xmlet.xsdparser.core.XsdParserCore;
import org.xmlet.xsdparser.core.utils.ParseData;
import org.xmlet.xsdparser.xsdelements.elementswrapper.ReferenceBase;
import org.xmlet.xsdparser.xsdelements.visitors.XsdAbstractElementVisitor;
import javax.validation.constraints.NotNull;
import java.util.Map;
/**
* A class representing the xsd:appInfo element. This class extends form {@link XsdAnnotationChildren} since it shares
* a few similarities with {@link XsdDocumentation}, which is the other possible children of {@link XsdAnnotation}
* elements. For more information check {@link XsdAnnotationChildren}.
*
* @see xsd:appInfo element description and usage at w3c
*/
public class XsdAppInfo extends XsdAnnotationChildren {
public static final String XSD_TAG = "xsd:appinfo";
public static final String XS_TAG = "xs:appinfo";
public static final String TAG = "appinfo";
private XsdAppInfo(@NotNull XsdParserCore parser, @NotNull Map elementFieldsMapParam) {
super(parser, elementFieldsMapParam);
}
@Override
public void accept(XsdAbstractElementVisitor visitorParam) {
super.accept(visitorParam);
visitorParam.visit(this);
}
public static ReferenceBase parse(@NotNull ParseData parseData){
return xsdAnnotationChildrenParse(parseData.node, new XsdAppInfo(parseData.parserInstance, convertNodeMap(parseData.node.getAttributes())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy