1 57 58 package com.sun.org.apache.xerces.internal.impl.dv; 59 60 import com.sun.org.apache.xerces.internal.xs.ShortList; 61 62 70 public class ValidatedInfo { 71 72 75 public String normalizedValue; 76 77 81 public Object actualValue; 82 83 89 public short actualValueType; 90 91 95 public XSSimpleType memberType; 96 97 104 public XSSimpleType[] memberTypes; 105 106 112 public ShortList itemValueTypes; 113 114 117 public void reset() { 118 this.normalizedValue = null; 119 this.actualValue = null; 120 this.memberType = null; 121 this.memberTypes = null; 122 } 123 124 128 public String stringValue() { 129 if (actualValue == null) 130 return normalizedValue; 131 else 132 return actualValue.toString(); 133 } 134 } 135 | Popular Tags |