public ContainerDocumentConfig build() { return new ContainerDocumentConfig(this); }
private ContainerDocumentConfig.Doctype getDocumentConfig(String name) { for (ContainerDocumentConfig.Doctype type : containerDocConfig.doctype()) { if (name.equals(type.type())) { return type; } } return null; }
public Builder(ContainerDocumentConfig config) { for (Doctype d : config.doctype()) { doctype(new Doctype.Builder(d)); } }