1 16 17 package org.apache.xerces.impl.dv; 18 19 import org.apache.xerces.xs.ShortList; 20 21 31 public class ValidatedInfo { 32 33 36 public String normalizedValue; 37 38 42 public Object actualValue; 43 44 50 public short actualValueType; 51 52 56 public XSSimpleType memberType; 57 58 65 public XSSimpleType[] memberTypes; 66 67 73 public ShortList itemValueTypes; 74 75 78 public void reset() { 79 this.normalizedValue = null; 80 this.actualValue = null; 81 this.memberType = null; 82 this.memberTypes = null; 83 } 84 85 89 public String stringValue() { 90 if (actualValue == null) 91 return normalizedValue; 92 else 93 return actualValue.toString(); 94 } 95 } 96 | Popular Tags |