package com.thaiopensource.relaxng.output.xsd;

import com.thaiopensource.relaxng.output.xsd.basic.ComplexTypeSimpleContent;
import com.thaiopensource.relaxng.output.xsd.basic.AttributeUse;
import com.thaiopensource.relaxng.output.xsd.basic.SimpleType;

public class ComplexTypeSimpleContentExtension extends ComplexTypeSimpleContent {
  private final String base;

  ComplexTypeSimpleContentExtension(AttributeUse attributeUses, SimpleType simpleType, String base) {
    super(attributeUses, simpleType);
    this.base = base;
  }

  ComplexTypeSimpleContentExtension(ComplexTypeSimpleContent ct) {
    super(ct.getAttributeUses(), ct.getSimpleType());
    this.base = null;
  }

  String getBase() {
    return base;
  }
}

package com.thaiopensource.relaxng.output.xsd;

import com.thaiopensource.relaxng.output.xsd.basic.ComplexTypeSimpleContent;
import com.thaiopensource.relaxng.output.xsd.basic.AttributeUse;
import com.thaiopensource.relaxng.output.xsd.basic.SimpleType;

class ComplexTypeSimpleContentExtension extends ComplexTypeSimpleContent {
  private final String base;

  ComplexTypeSimpleContentExtension(AttributeUse attributeUses, SimpleType simpleType, String base) {
    super(attributeUses, simpleType);
    this.base = base;
  }

  ComplexTypeSimpleContentExtension(ComplexTypeSimpleContent ct) {
    super(ct.getAttributeUses(), ct.getSimpleType());
    this.base = null;
  }

  String getBase() {
    return base;
  }
}

Make package private