1 23 24 package org.enhydra.xml.xmlc.metadata; 25 26 29 public class HTMLTagDefImpl implements HTMLTagDef { 30 33 private final String name; 34 private final boolean inline; 35 private final boolean block; 36 private final boolean empty; 37 private final boolean optclose; 38 39 42 protected HTMLTagDefImpl(String name, 43 boolean inline, 44 boolean block, 45 boolean empty, 46 boolean optclose) { 47 this.name = name; 48 this.inline = inline; 49 this.block = block; 50 this.empty = empty; 51 this.optclose = optclose; 52 } 53 54 57 public String getName() { 58 return name; 59 } 60 61 64 public boolean getInline() { 65 return inline; 66 } 67 68 71 public boolean getBlock() { 72 return block; 73 } 74 75 78 public boolean getEmpty() { 79 return empty; 80 } 81 82 85 public boolean getOptclose() { 86 return optclose; 87 } 88 } 89 | Popular Tags |