1 package com.puppycrawl.tools.checkstyle.checks.xpath; 20 21 import com.puppycrawl.tools.checkstyle.api.DetailAST; 22 23 24 30 public class Attribute 31 { 32 33 private DetailAST mParent; 34 35 36 private String mName; 37 38 39 private String mValue; 40 41 47 public Attribute(DetailAST aParent, String aName, String aValue) 48 { 49 mParent = aParent; 50 mName = aName; 51 mValue = aValue; 52 } 53 54 57 public String getName() 58 { 59 return mName; 60 } 61 62 66 public String getValue() 67 { 68 return mValue; 69 } 70 71 75 public void setName(String aName) 76 { 77 mName = aName; 78 } 79 80 84 public void setValue(String aValue) 85 { 86 mValue = aValue; 87 } 88 89 93 public DetailAST getParent() 94 { 95 return mParent; 96 } 97 98 102 public void setParent(DetailAST aParent) 103 { 104 mParent = aParent; 105 } 106 107 } 108 | Popular Tags |