286N/A * reserved comment block 286N/A * DO NOT REMOVE OR ALTER! 286N/A * Copyright 2002-2004 The Apache Software Foundation. 286N/A * Licensed under the Apache License, Version 2.0 (the "License"); 286N/A * you may not use this file except in compliance with the License. 286N/A * You may obtain a copy of the License at 286N/A * Unless required by applicable law or agreed to in writing, software 286N/A * distributed under the License is distributed on an "AS IS" BASIS, 286N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 286N/A * See the License for the specific language governing permissions and 286N/A * limitations under the License. 286N/A * Attribute namespace implementation; stores PSVI attribute items. 286N/A * @author Sandy Gao, IBM 286N/A /** Serialization version. */ 286N/A * Construct an attribute node. 286N/A * Construct an attribute node. 286N/A /** attribute declaration */ 286N/A /** type of attribute, simpleType */ 286N/A /** If this attribute was explicitly given a 286N/A * value in the original document, this is true; otherwise, it is false */ 286N/A /** schema normalized value property */ 286N/A /** schema actual value */ 286N/A /** schema actual value type */ 286N/A /** actual value types if the value is a list */ 286N/A /** member type definition against which attribute was validated */ 286N/A /** validation attempted: none, partial, full */ 286N/A /** validity: valid, invalid, unknown */ 286N/A /** validation context: could be QName or XPath expression*/ 286N/A // AttributePSVI methods 286N/A * @return The canonical lexical representation of the declaration's {value constraint} value. 286N/A * [schema normalized value] 286N/A * @return the normalized value of this item after validation 286N/A * @return false value was specified in schema, true value comes from the infoset 286N/A * Determines the extent to which the document has been validated 286N/A * @return return the [validation attempted] property. The possible values are 286N/A * NO_VALIDATION, PARTIAL_VALIDATION and FULL_VALIDATION 286N/A * Determine the validity of the node with respect 286N/A * to the validation being attempted 286N/A * @return return the [validity] property. Possible values are: 286N/A * UNKNOWN_VALIDITY, INVALID_VALIDITY, VALID_VALIDITY 286N/A * A list of error codes generated from validation attempts. 286N/A * Need to find all the possible subclause reports that need reporting 286N/A * @return list of error codes 286N/A // This is the only information we can provide in a pipeline. 286N/A * An item isomorphic to the type definition used to validate this element. 286N/A * @return a type declaration 286N/A * If and only if that type definition is a simple type definition 286N/A * with {variety} union, or a complex type definition whose {content type} 286N/A * is a simple thype definition with {variety} union, then an item isomorphic 286N/A * to that member of the union's {member type definitions} which actually 286N/A * validated the element item's normalized value. 286N/A * @return a simple type declaration 286N/A * An item isomorphic to the attribute declaration used to validate 286N/A * @return an attribute declaration 286N/A * Copy PSVI properties from another psvi item. 286N/A * @param attr the source of attribute PSVI items 286N/A * @see com.sun.org.apache.xerces.internal.xs.ItemPSVI#getActualNormalizedValue() 286N/A * @see com.sun.org.apache.xerces.internal.xs.ItemPSVI#getActualNormalizedValueType() 286N/A * @see com.sun.org.apache.xerces.internal.xs.ItemPSVI#getItemValueTypes() 286N/A // REVISIT: Forbid serialization of PSVI DOM until 286N/A // we support object serialization of grammars -- mrglavas