1 23 package com.sun.enterprise.diagnostics.report.html; 24 25 import java.util.List ; 26 27 32 public interface Element extends Container { 33 34 38 public Element addElement(String name); 39 40 45 public Attribute addAttribute(String id, String value); 46 47 54 public Text addComment(String content); 55 56 62 public Text addText(String text); 63 64 68 public List <Element> getElements(); 69 70 76 public List <Element> getElements(String name); 77 78 82 public List <Text> getComments(); 83 84 88 public List <Text> getTexts(); 89 90 94 public List <Attribute> getAttributes(); 95 96 102 public List <Attribute> getAttributes(String name); 103 104 108 public String getName(); 109 110 116 public void setName(String name); 117 } 118 | Popular Tags |