
com.thaiopensource.xml.dtd.om.ProcessingInstruction Maven / Gradle / Ivy
package com.thaiopensource.xml.dtd.om;
public class ProcessingInstruction extends TopLevel {
private final String target;
private final String value;
public ProcessingInstruction(String target, String value) {
this.target = target;
this.value = value;
}
public int getType() {
return PROCESSING_INSTRUCTION;
}
public String getTarget() {
return target;
}
public String getValue() {
return value;
}
public void accept(TopLevelVisitor visitor) throws Exception {
visitor.processingInstruction(target, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy