// Path: core/src/main/java/org/aimlang/core/consts/AimlTag.java
// public class AimlTag {
// 
//     public static final String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
//     public static final String aiml = "aiml";
//     public static final String category = "category";
//     public static final String topic = "topic";
//     public static final String pattern = "pattern";
//     public static final String template = "template";
//     public static final String random = "random";
//     public static final String li = "li";
//     public static final String star = "star";
//     public static final String index = "index";
//     public static final String bot = "bot";
//     public static final String set = "set";
//     public static final String get = "get";
//     public static final String think = "think";
//     public static final String srai = "srai";
//     public static final String sraix = "sraix";
//     public static final String map = "map";
//     public static final String that = "that";
//     public static final String condition = "condition";
//     public static final String loop = "loop";
//     public static final String learn = "learn";
//     public static final String learnf = "learnf";
//     public static final String eval = "eval";
//     public static final String text = "#text";
//     public static final String comment = "#comment";
//     //Attributes
//     public static final String name = "name";
// 
//     public static String getCloseTag(String name) {
//         return "</" + name + ">";
//     }
// 
//     public static String getOpenTag(String name) {
//         return "<" + name + ">";
//     }
// }


import org.aimlang.core.consts.AimlTag;
import org.w3c.dom.Node;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
package org.aimlang.core.entity;



/**
 * Aiml category
 *
 * @author anton
 * @since 21/06/15
 */
public class AimlCategory implements AimlElement {
    private String topic = "";
    private String pattern = "";
    private Node template = null;
    private List<AimlToken> templateData = new ArrayList<>();
    private String that = "";

    @Override
    public String getType() {
// Path: core/src/main/java/org/aimlang/core/consts/AimlTag.java
// public class AimlTag {
// 
//     public static final String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
//     public static final String aiml = "aiml";
//     public static final String category = "category";
//     public static final String topic = "topic";
//     public static final String pattern = "pattern";
//     public static final String template = "template";
//     public static final String random = "random";
//     public static final String li = "li";
//     public static final String star = "star";
//     public static final String index = "index";
//     public static final String bot = "bot";
//     public static final String set = "set";
//     public static final String get = "get";
//     public static final String think = "think";
//     public static final String srai = "srai";
//     public static final String sraix = "sraix";
//     public static final String map = "map";
//     public static final String that = "that";
//     public static final String condition = "condition";
//     public static final String loop = "loop";
//     public static final String learn = "learn";
//     public static final String learnf = "learnf";
//     public static final String eval = "eval";
//     public static final String text = "#text";
//     public static final String comment = "#comment";
//     //Attributes
//     public static final String name = "name";
// 
//     public static String getCloseTag(String name) {
//         return "</" + name + ">";
//     }
// 
//     public static String getOpenTag(String name) {
//         return "<" + name + ">";
//     }
// }


// Path: core/src/main/java/org/aimlang/core/entity/AimlCategory.java
import org.aimlang.core.consts.AimlTag;
import org.w3c.dom.Node;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

package org.aimlang.core.entity;



/**
 * Aiml category
 *
 * @author anton
 * @since 21/06/15
 */
public class AimlCategory implements AimlElement {
    private String topic = "";
    private String pattern = "";
    private Node template = null;
    private List<AimlToken> templateData = new ArrayList<>();
    private String that = "";

    @Override
    public String getType() {
        return AimlTag.category;