XmlDTD Class — netty Architecture
Architecture documentation for the XmlDTD class in XmlDTD.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ed95780b_e526_6e4d_fb1a_b0a819af36c4["XmlDTD"] a985ff1d_0511_7c90_c695_e33d2a9f60e9["XmlDTD.java"] ed95780b_e526_6e4d_fb1a_b0a819af36c4 -->|defined in| a985ff1d_0511_7c90_c695_e33d2a9f60e9 bda90850_551c_9de3_ad03_90bf675812b0["XmlDTD()"] ed95780b_e526_6e4d_fb1a_b0a819af36c4 -->|method| bda90850_551c_9de3_ad03_90bf675812b0 bf89bdd2_2b31_494b_d1ac_94a1c56719c9["String()"] ed95780b_e526_6e4d_fb1a_b0a819af36c4 -->|method| bf89bdd2_2b31_494b_d1ac_94a1c56719c9 0ca468bf_881d_b0bb_e419_2ddec039efd1["equals()"] ed95780b_e526_6e4d_fb1a_b0a819af36c4 -->|method| 0ca468bf_881d_b0bb_e419_2ddec039efd1 443d33c8_823c_3e19_8b02_12193c245147["hashCode()"] ed95780b_e526_6e4d_fb1a_b0a819af36c4 -->|method| 443d33c8_823c_3e19_8b02_12193c245147
Relationship Graph
Source Code
codec-xml/src/main/java/io/netty/handler/codec/xml/XmlDTD.java lines 21–63
public class XmlDTD {
private final String text;
public XmlDTD(String text) {
this.text = text;
}
public String text() {
return text;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
XmlDTD xmlDTD = (XmlDTD) o;
if (text != null ? !text.equals(xmlDTD.text) : xmlDTD.text != null) {
return false;
}
return true;
}
@Override
public int hashCode() {
return text != null ? text.hashCode() : 0;
}
@Override
public String toString() {
return "XmlDTD{" +
"text='" + text + '\'' +
'}';
}
}
Source
Frequently Asked Questions
What is the XmlDTD class?
XmlDTD is a class in the netty codebase, defined in codec-xml/src/main/java/io/netty/handler/codec/xml/XmlDTD.java.
Where is XmlDTD defined?
XmlDTD is defined in codec-xml/src/main/java/io/netty/handler/codec/xml/XmlDTD.java at line 21.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free