Home / Class/ XmlElementStart Class — netty Architecture

XmlElementStart Class — netty Architecture

Architecture documentation for the XmlElementStart class in XmlElementStart.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  cf4c701c_9663_404e_2f4c_f95624c51ec8["XmlElementStart"]
  f6c08ae8_adc1_1c80_12bb_4b85cff299dc["XmlElementStart.java"]
  cf4c701c_9663_404e_2f4c_f95624c51ec8 -->|defined in| f6c08ae8_adc1_1c80_12bb_4b85cff299dc
  c5fb3391_34e1_7f2a_e8d3_70bf6d5222ce["XmlElementStart()"]
  cf4c701c_9663_404e_2f4c_f95624c51ec8 -->|method| c5fb3391_34e1_7f2a_e8d3_70bf6d5222ce
  6db95176_b410_3d85_c173_c04e3fb6808e["attributes()"]
  cf4c701c_9663_404e_2f4c_f95624c51ec8 -->|method| 6db95176_b410_3d85_c173_c04e3fb6808e
  ea98380a_9ef2_2416_dbf7_9a2ad736700d["equals()"]
  cf4c701c_9663_404e_2f4c_f95624c51ec8 -->|method| ea98380a_9ef2_2416_dbf7_9a2ad736700d
  c939b3b8_0cea_5b50_2cc7_84b8487dc04b["hashCode()"]
  cf4c701c_9663_404e_2f4c_f95624c51ec8 -->|method| c939b3b8_0cea_5b50_2cc7_84b8487dc04b
  fd408210_d687_8f8e_db5d_bf02e9d9e4c8["String()"]
  cf4c701c_9663_404e_2f4c_f95624c51ec8 -->|method| fd408210_d687_8f8e_db5d_bf02e9d9e4c8

Relationship Graph

Source Code

codec-xml/src/main/java/io/netty/handler/codec/xml/XmlElementStart.java lines 24–68

public class XmlElementStart extends XmlElement {

    private final List<XmlAttribute> attributes = new ArrayList<XmlAttribute>();

    public XmlElementStart(String name, String namespace, String prefix) {
        super(name, namespace, prefix);
    }

    public List<XmlAttribute> attributes() {
        return attributes;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        if (!super.equals(o)) {
            return false;
        }

        XmlElementStart that = (XmlElementStart) o;

        return attributes.equals(that.attributes);
    }

    @Override
    public int hashCode() {
        int result = super.hashCode();
        result = 31 * result + attributes.hashCode();
        return result;
    }

    @Override
    public String toString() {
        return "XmlElementStart{" +
                "attributes=" + attributes +
                super.toString() +
                "} ";
    }

}

Frequently Asked Questions

What is the XmlElementStart class?
XmlElementStart is a class in the netty codebase, defined in codec-xml/src/main/java/io/netty/handler/codec/xml/XmlElementStart.java.
Where is XmlElementStart defined?
XmlElementStart is defined in codec-xml/src/main/java/io/netty/handler/codec/xml/XmlElementStart.java at line 24.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free