jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/identity/ValueStore.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * reserved comment block |
2 * reserved comment block |
3 * DO NOT REMOVE OR ALTER! |
3 * DO NOT REMOVE OR ALTER! |
4 */ |
4 */ |
5 /* |
5 /* |
6 * Copyright 2001, 2002,2004,2005 The Apache Software Foundation. |
6 * Licensed to the Apache Software Foundation (ASF) under one or more |
7 * |
7 * contributor license agreements. See the NOTICE file distributed with |
8 * Licensed under the Apache License, Version 2.0 (the "License"); |
8 * this work for additional information regarding copyright ownership. |
9 * you may not use this file except in compliance with the License. |
9 * The ASF licenses this file to You under the Apache License, Version 2.0 |
10 * You may obtain a copy of the License at |
10 * (the "License"); you may not use this file except in compliance with |
|
11 * the License. You may obtain a copy of the License at |
11 * |
12 * |
12 * http://www.apache.org/licenses/LICENSE-2.0 |
13 * http://www.apache.org/licenses/LICENSE-2.0 |
13 * |
14 * |
14 * Unless required by applicable law or agreed to in writing, software |
15 * Unless required by applicable law or agreed to in writing, software |
15 * distributed under the License is distributed on an "AS IS" BASIS, |
16 * distributed under the License is distributed on an "AS IS" BASIS, |
52 * Adds the specified value to the value store. |
53 * Adds the specified value to the value store. |
53 * |
54 * |
54 * @param field The field associated to the value. This reference |
55 * @param field The field associated to the value. This reference |
55 * is used to ensure that each field only adds a value |
56 * is used to ensure that each field only adds a value |
56 * once within a selection scope. |
57 * once within a selection scope. |
|
58 * @param mayMatch a flag indiciating whether the field may be matched. |
57 * @param actualValue The value to add. |
59 * @param actualValue The value to add. |
|
60 * @param valueType Type of the value to add. |
|
61 * @param itemValueType If the value is a list, a list of types for each of the values in the list. |
58 */ |
62 */ |
59 public void addValue(Field field, Object actualValue, short valueType, ShortList itemValueType); |
63 public void addValue(Field field, boolean mayMatch, Object actualValue, short valueType, ShortList itemValueType); |
60 |
64 |
61 /** |
65 /** |
62 * Since the valueStore will have access to an error reporter, this |
66 * Since the valueStore will have access to an error reporter, this |
63 * allows it to be called appropriately. |
67 * allows it to be called appropriately. |
64 * @param key the key of the localized error message |
68 * @param key the key of the localized error message |