1 15 package org.apache.tapestry.parse; 16 17 import java.util.Map ; 18 19 import org.apache.hivemind.Location; 20 21 30 31 public class LocalizationToken extends TemplateToken 32 { 33 private String _tag; 34 private String _key; 35 private boolean _raw; 36 private Map _attributes; 37 38 50 51 public LocalizationToken(String tag, String key, boolean raw, Map attributes, Location location) 52 { 53 super(TokenType.LOCALIZATION, location); 54 55 _tag = tag; 56 _key = key; 57 _raw = raw; 58 _attributes = attributes; 59 } 60 61 66 67 public Map getAttributes() 68 { 69 return _attributes; 70 } 71 72 public boolean isRaw() 73 { 74 return _raw; 75 } 76 77 public String getTag() 78 { 79 return _tag; 80 } 81 82 public String getKey() 83 { 84 return _key; 85 } 86 } 87 | Popular Tags |