1 16 17 package org.apache.xerces.impl.dv; 18 19 import java.util.Vector ; 20 21 import org.apache.xerces.xs.XSAnnotation; 22 import org.apache.xerces.xs.XSObjectList; 23 import org.apache.xerces.impl.xs.util.XSObjectListImpl; 24 25 34 public class XSFacets { 35 36 39 public int length; 40 41 44 public int minLength; 45 46 49 public int maxLength; 50 51 54 public short whiteSpace; 55 56 59 public int totalDigits; 60 61 64 public int fractionDigits; 65 66 70 public String pattern; 71 72 75 public Vector enumeration; 76 77 82 public Vector enumNSDecls; 83 84 87 public String maxInclusive; 88 89 92 public String maxExclusive; 93 94 97 public String minInclusive; 98 99 102 public String minExclusive; 103 104 105 106 public XSAnnotation lengthAnnotation; 107 public XSAnnotation minLengthAnnotation; 108 public XSAnnotation maxLengthAnnotation; 109 public XSAnnotation whiteSpaceAnnotation; 110 public XSAnnotation totalDigitsAnnotation; 111 public XSAnnotation fractionDigitsAnnotation; 112 public XSObjectListImpl patternAnnotations; 113 public XSObjectList enumAnnotations; 114 public XSAnnotation maxInclusiveAnnotation; 115 public XSAnnotation maxExclusiveAnnotation; 116 public XSAnnotation minInclusiveAnnotation; 117 public XSAnnotation minExclusiveAnnotation; 118 119 public void reset(){ 120 lengthAnnotation = null; 121 minLengthAnnotation = null; 122 maxLengthAnnotation = null; 123 whiteSpaceAnnotation = null; 124 totalDigitsAnnotation = null; 125 fractionDigitsAnnotation = null; 126 patternAnnotations = null; 127 enumAnnotations = null; 128 maxInclusiveAnnotation = null; 129 maxExclusiveAnnotation = null; 130 minInclusiveAnnotation = null; 131 minExclusiveAnnotation = null; 132 } 133 } 134 | Popular Tags |