1 19 20 package org.netbeans.modules.xml.schema.model; 21 22 26 public interface Whitespace extends SchemaComponent { 27 public static final String FIXED_PROPERTY = "fixed"; 28 public static final String VALUE_PROPERTY = "value"; 29 30 Boolean isFixed(); 31 void setFixed(Boolean iFixed); 32 boolean getFixedDefault(); 33 boolean getFixedEffective(); 34 35 enum Treatment { 36 PRESERVE("preserve"), REPLACE("replace"), COLLAPSE("collapse"); 37 Treatment(String value) { 38 this.value = value; 39 } 40 public String toString() { 41 return value; 42 } 43 private String value; 44 } 45 46 Treatment getValue(); 47 void setValue(Treatment whitespaceTreatment); 48 } 49 | Popular Tags |