Home / Class/ XmlProcessingInstruction Class — netty Architecture

XmlProcessingInstruction Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  b348ecd7_fd9a_6691_0ebe_aec8b6e46cbf["XmlProcessingInstruction"]
  646b527b_e817_b9a6_e2ec_87a470a18262["XmlProcessingInstruction.java"]
  b348ecd7_fd9a_6691_0ebe_aec8b6e46cbf -->|defined in| 646b527b_e817_b9a6_e2ec_87a470a18262
  b082ce86_6edc_232e_0ff5_46586b385604["XmlProcessingInstruction()"]
  b348ecd7_fd9a_6691_0ebe_aec8b6e46cbf -->|method| b082ce86_6edc_232e_0ff5_46586b385604
  3be852d9_12fa_aecc_72e0_6dfca5a9360d["String()"]
  b348ecd7_fd9a_6691_0ebe_aec8b6e46cbf -->|method| 3be852d9_12fa_aecc_72e0_6dfca5a9360d
  8e64f48f_72a9_c713_3305_67b4cdeb2c29["equals()"]
  b348ecd7_fd9a_6691_0ebe_aec8b6e46cbf -->|method| 8e64f48f_72a9_c713_3305_67b4cdeb2c29
  2f76d8bf_92d0_f7d8_a68c_a0264c97c963["hashCode()"]
  b348ecd7_fd9a_6691_0ebe_aec8b6e46cbf -->|method| 2f76d8bf_92d0_f7d8_a68c_a0264c97c963

Relationship Graph

Source Code

codec-xml/src/main/java/io/netty/handler/codec/xml/XmlProcessingInstruction.java lines 21–75

public class XmlProcessingInstruction {

    private final String data;
    private final String target;

    public XmlProcessingInstruction(String data, String target) {
        this.data = data;
        this.target = target;
    }

    public String data() {
        return data;
    }

    public String target() {
        return target;
    }

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

        XmlProcessingInstruction that = (XmlProcessingInstruction) o;

        if (data != null ? !data.equals(that.data) : that.data != null) {
            return false;
        }
        if (target != null ? !target.equals(that.target) : that.target != null) {
            return false;
        }

        return true;
    }

    @Override
    public int hashCode() {
        int result = data != null ? data.hashCode() : 0;
        result = 31 * result + (target != null ? target.hashCode() : 0);
        return result;
    }

    @Override
    public String toString() {
        return "XmlProcessingInstruction{" +
                "data='" + data + '\'' +
                ", target='" + target + '\'' +
                '}';
    }

}

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free