org.petitparser.grammar.xml.XmlCallback Maven / Gradle / Ivy
package org.petitparser.grammar.xml;
import java.util.Collection;
/**
* Interface with callbacks form the {@link XmlDefinition}.
*/
public interface XmlCallback {
TNode createAttribute(TName name, String text);
TNode createComment(String text);
TNode createCDATA(String text);
TNode createDoctype(String text);
TNode createDocument(Collection children);
TNode createElement(TName name, Collection attributes, Collection children);
TNode createProcessing(String target, String text);
TName createQualified(String name);
TNode createText(String text);
}