src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/dv/XSFacets.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * reserved comment block |
2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT REMOVE OR ALTER! |
3 * @LastModified: Oct 2017 |
4 */ |
4 */ |
5 /* |
5 /* |
6 * Licensed to the Apache Software Foundation (ASF) under one or more |
6 * Licensed to the Apache Software Foundation (ASF) under one or more |
7 * contributor license agreements. See the NOTICE file distributed with |
7 * contributor license agreements. See the NOTICE file distributed with |
8 * this work for additional information regarding copyright ownership. |
8 * this work for additional information regarding copyright ownership. |
19 * limitations under the License. |
19 * limitations under the License. |
20 */ |
20 */ |
21 |
21 |
22 package com.sun.org.apache.xerces.internal.impl.dv; |
22 package com.sun.org.apache.xerces.internal.impl.dv; |
23 |
23 |
24 import java.util.Vector; |
24 import com.sun.org.apache.xerces.internal.impl.xs.util.XSObjectListImpl; |
25 |
25 import com.sun.org.apache.xerces.internal.xni.NamespaceContext; |
26 import com.sun.org.apache.xerces.internal.xs.XSAnnotation; |
26 import com.sun.org.apache.xerces.internal.xs.XSAnnotation; |
27 import com.sun.org.apache.xerces.internal.xs.XSObjectList; |
27 import com.sun.org.apache.xerces.internal.xs.XSObjectList; |
28 import com.sun.org.apache.xerces.internal.impl.xs.util.XSObjectListImpl; |
28 import java.util.List; |
29 |
29 |
30 /** |
30 /** |
31 * The class used to pass all facets to {@link XSSimpleType#applyFacets}. |
31 * The class used to pass all facets to {@link XSSimpleType#applyFacets}. |
32 * |
32 * |
33 * @xerces.internal |
33 * @xerces.internal |
72 * are ORed together. |
72 * are ORed together. |
73 */ |
73 */ |
74 public String pattern; |
74 public String pattern; |
75 |
75 |
76 /** |
76 /** |
77 * Vector containing values of Enumeration facet, as String's. |
77 * ArrayList containing values of Enumeration facet, as String's. |
78 */ |
78 */ |
79 public Vector enumeration; |
79 public List<String> enumeration; |
80 |
80 |
81 /** |
81 /** |
82 * An array parallel to "Vector enumeration". It contains namespace context |
82 * An array parallel to "Vector enumeration". It contains namespace context |
83 * of each enumeration value. Elements of this vector are NamespaceContext |
83 * of each enumeration value. Elements of this vector are NamespaceContext |
84 * objects. |
84 * objects. |
85 */ |
85 */ |
86 public Vector enumNSDecls; |
86 public List<NamespaceContext> enumNSDecls; |
87 |
87 |
88 /** |
88 /** |
89 * value of maxInclusive facet. |
89 * value of maxInclusive facet. |
90 */ |
90 */ |
91 public String maxInclusive; |
91 public String maxInclusive; |