1 57 58 package com.sun.org.apache.xerces.internal.impl.dv; 59 60 import java.util.Vector ; 61 62 import com.sun.org.apache.xerces.internal.xs.XSAnnotation; 63 import com.sun.org.apache.xerces.internal.xs.XSObjectList; 64 import com.sun.org.apache.xerces.internal.impl.xs.util.XSObjectListImpl; 65 66 73 public class XSFacets { 74 75 78 public int length; 79 80 83 public int minLength; 84 85 88 public int maxLength; 89 90 93 public short whiteSpace; 94 95 98 public int totalDigits; 99 100 103 public int fractionDigits; 104 105 109 public String pattern; 110 111 114 public Vector enumeration; 115 116 121 public Vector enumNSDecls; 122 123 126 public String maxInclusive; 127 128 131 public String maxExclusive; 132 133 136 public String minInclusive; 137 138 141 public String minExclusive; 142 143 144 145 public XSAnnotation lengthAnnotation; 146 public XSAnnotation minLengthAnnotation; 147 public XSAnnotation maxLengthAnnotation; 148 public XSAnnotation whiteSpaceAnnotation; 149 public XSAnnotation totalDigitsAnnotation; 150 public XSAnnotation fractionDigitsAnnotation; 151 public XSObjectListImpl patternAnnotations; 152 public XSObjectList enumAnnotations; 153 public XSAnnotation maxInclusiveAnnotation; 154 public XSAnnotation maxExclusiveAnnotation; 155 public XSAnnotation minInclusiveAnnotation; 156 public XSAnnotation minExclusiveAnnotation; 157 158 public void reset(){ 159 lengthAnnotation = null; 160 minLengthAnnotation = null; 161 maxLengthAnnotation = null; 162 whiteSpaceAnnotation = null; 163 totalDigitsAnnotation = null; 164 fractionDigitsAnnotation = null; 165 patternAnnotations = null; 166 enumAnnotations = null; 167 maxInclusiveAnnotation = null; 168 maxExclusiveAnnotation = null; 169 minInclusiveAnnotation = null; 170 minExclusiveAnnotation = null; 171 } 172 } 173 | Popular Tags |