All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.thaiopensource.relaxng.edit.DefineComponent Maven / Gradle / Ivy

There is a newer version: 20220510
Show newest version
package com.thaiopensource.relaxng.edit;

public class DefineComponent extends Component {
  public final static String START = new String("#start");
  private String name;
  private Pattern body;
  private Combine combine;

  public DefineComponent(String name, Pattern body) {
    this.name = name;
    this.body = body;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Pattern getBody() {
    return body;
  }

  public void setBody(Pattern body) {
    this.body = body;
  }

  public Combine getCombine() {
    return combine;
  }

  public void setCombine(Combine combine) {
    this.combine = combine;
  }

  public  T accept(ComponentVisitor visitor) {
    return visitor.visitDefine(this);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy