001/* 002 * Stallion Core: A Modern Web Framework 003 * 004 * Copyright (C) 2015 - 2016 Stallion Software LLC. 005 * 006 * This program is free software: you can redistribute it and/or modify it under the terms of the 007 * GNU General Public License as published by the Free Software Foundation, either version 2 of 008 * the License, or (at your option) any later version. This program is distributed in the hope that 009 * it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 011 * License for more details. You should have received a copy of the GNU General Public License 012 * along with this program. If not, see <http://www.gnu.org/licenses/gpl-2.0.html>. 013 * 014 * 015 * 016 */ 017 018package io.stallion.dataAccess.file; 019 020import java.util.HashMap; 021 022 023public class StElement { 024 private String content = ""; 025 private String rawInnerContent = ""; 026 private String tagAttributesString = ""; 027 private String id = ""; 028 private String elementType = ""; 029 private String tag = ""; 030 private HashMap <String, String> attributes = new HashMap <String, String>(); 031 032 033 public String getContent() { 034 return content; 035 } 036 037 public void setContent(String content) { 038 this.content = content; 039 } 040 041 public String getRawInnerContent() { 042 return rawInnerContent; 043 } 044 045 public void setRawInnerContent(String rawInnerContent) { 046 this.rawInnerContent = rawInnerContent; 047 } 048 049 public String getTagAttributesString() { 050 return tagAttributesString; 051 } 052 053 public void setTagAttributesString(String tagAttributesString) { 054 this.tagAttributesString = tagAttributesString; 055 } 056 057 public String getId() { 058 return id; 059 } 060 061 public void setId(String id) { 062 this.id = id; 063 } 064 065 public String getElementType() { 066 return elementType; 067 } 068 069 public void setElementType(String elementType) { 070 this.elementType = elementType; 071 } 072 073 public String getTag() { 074 return tag; 075 } 076 077 public void setTag(String tag) { 078 this.tag = tag; 079 } 080 081 public HashMap<String, String> getAttributes() { 082 return attributes; 083 } 084 085 public void setAttributes(HashMap<String, String> attributes) { 086 this.attributes = attributes; 087 } 088}