com.sun.org.apache.xerces.internal.xs.AttributePSVI Java Examples

The following examples show how to use com.sun.org.apache.xerces.internal.xs.AttributePSVI. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DOMResultAugmentor.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
/** Returns whether the given attribute is an ID type. **/
private boolean processAttributePSVI(AttrImpl attr, AttributePSVI attrPSVI) {
    if (fStorePSVI) {
        ((PSVIAttrNSImpl) attr).setPSVI (attrPSVI);
    }
    Object type = attrPSVI.getMemberTypeDefinition ();
    if (type == null) {
        type = attrPSVI.getTypeDefinition ();
        if (type != null) {
            attr.setType(type);
            return ((XSSimpleType) type).isIDType();
        }
    }
    else {
        attr.setType(type);
        return ((XSSimpleType) type).isIDType();
    }
    return false;
}
 
Example #2
Source File: DOMResultAugmentor.java    From Bytecoder with Apache License 2.0 6 votes vote down vote up
/** Returns whether the given attribute is an ID type. **/
private boolean processAttributePSVI(AttrImpl attr, AttributePSVI attrPSVI) {
    if (fStorePSVI) {
        ((PSVIAttrNSImpl) attr).setPSVI (attrPSVI);
    }
    Object type = attrPSVI.getMemberTypeDefinition ();
    if (type == null) {
        type = attrPSVI.getTypeDefinition ();
        if (type != null) {
            attr.setType(type);
            return ((XSSimpleType) type).isIDType();
        }
    }
    else {
        attr.setType(type);
        return ((XSSimpleType) type).isIDType();
    }
    return false;
}
 
Example #3
Source File: DOMResultAugmentor.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
/** Returns whether the given attribute is an ID type. **/
private boolean processAttributePSVI(AttrImpl attr, AttributePSVI attrPSVI) {
    if (fStorePSVI) {
        ((PSVIAttrNSImpl) attr).setPSVI (attrPSVI);
    }
    Object type = attrPSVI.getMemberTypeDefinition ();
    if (type == null) {
        type = attrPSVI.getTypeDefinition ();
        if (type != null) {
            attr.setType(type);
            return ((XSSimpleType) type).isIDType();
        }
    }
    else {
        attr.setType(type);
        return ((XSSimpleType) type).isIDType();
    }
    return false;
}
 
Example #4
Source File: DOMResultAugmentor.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
/** Returns whether the given attribute is an ID type. **/
private boolean processAttributePSVI(AttrImpl attr, AttributePSVI attrPSVI) {
    if (fStorePSVI) {
        ((PSVIAttrNSImpl) attr).setPSVI (attrPSVI);
    }
    Object type = attrPSVI.getMemberTypeDefinition ();
    if (type == null) {
        type = attrPSVI.getTypeDefinition ();
        if (type != null) {
            attr.setType(type);
            return ((XSSimpleType) type).isIDType();
        }
    }
    else {
        attr.setType(type);
        return ((XSSimpleType) type).isIDType();
    }
    return false;
}
 
Example #5
Source File: ValidatorHandlerImpl.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
AttributePSVI getAttributePSVIByName(String uri, String localname) {
    if (fAttributes != null) {
        Augmentations augs = fAttributes.getAugmentations(uri, localname);
        if (augs != null) {
            return (AttributePSVI) augs.getItem(Constants.ATTRIBUTE_PSVI);
        }
    }
    return null;
}
 
Example #6
Source File: ShortHandPointer.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns the schema-determined-ID.
 *
 *
 * @param attributes
 * @param index
 * @return A String containing the schema-determined ID.
 * @throws XNIException
 */
public String getSchemaDeterminedID(XMLAttributes attributes, int index)
throws XNIException {
    Augmentations augs = attributes.getAugmentations(index);
    AttributePSVI attrPSVI = (AttributePSVI) augs
    .getItem(Constants.ATTRIBUTE_PSVI);

    if (attrPSVI != null) {
        // An element or attribute information item is a schema-determined
        // ID if and only if one of the following is true:]

        // 1. It has a [member type definition] or [type definition] property
        // whose value in turn has [name] equal to ID and [target namespace]
        // equal to http://www.w3.org/2001/XMLSchema;

        // 2. It has a [base type definition] whose value has that [name] and [target namespace];

        // 3. It has a [base type definition] whose value has a [base type definition]
        // whose value has that [name] and [target namespace], and so on following
        // the [base type definition] property recursively;

        XSTypeDefinition typeDef = attrPSVI.getMemberTypeDefinition();
        if (typeDef != null) {
            typeDef = attrPSVI.getTypeDefinition();
        }

        //
        if (typeDef != null && ((XSSimpleType) typeDef).isIDType()) {
            return attrPSVI.getSchemaNormalizedValue();
        }

        // 4 & 5 NA
    }

    return null;
}
 
Example #7
Source File: PSVIAttrNSImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Copy PSVI properties from another psvi item.
 *
 * @param attr  the source of attribute PSVI items
 */
public void setPSVI(AttributePSVI attr) {
    this.fDeclaration = attr.getAttributeDeclaration();
    this.fValidationContext = attr.getValidationContext();
    this.fValidity = attr.getValidity();
    this.fValidationAttempted = attr.getValidationAttempted();
    this.fErrorCodes = attr.getErrorCodes();
    this.fNormalizedValue = attr.getSchemaNormalizedValue();
    this.fActualValue = attr.getActualNormalizedValue();
    this.fActualValueType = attr.getActualNormalizedValueType();
    this.fItemValueTypes = attr.getItemValueTypes();
    this.fTypeDecl = attr.getTypeDefinition();
    this.fMemberType = attr.getMemberTypeDefinition();
    this.fSpecified = attr.getIsSchemaSpecified();
}
 
Example #8
Source File: ValidatorHandlerImpl.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
private TypeInfo getAttributeType( int index ) {
    checkState(false);
    if( index<0 || fAttributes.getLength()<=index )
        throw new IndexOutOfBoundsException(Integer.toString(index));
    Augmentations augs = fAttributes.getAugmentations(index);
    if (augs == null) return null;
    AttributePSVI psvi = (AttributePSVI)augs.getItem(Constants.ATTRIBUTE_PSVI);
    return getTypeInfoFromPSVI(psvi);
}
 
Example #9
Source File: ValidatorHandlerImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
AttributePSVI getAttributePSVIByName(String uri, String localname) {
    if (fAttributes != null) {
        Augmentations augs = fAttributes.getAugmentations(uri, localname);
        if (augs != null) {
            return (AttributePSVI) augs.getItem(Constants.ATTRIBUTE_PSVI);
        }
    }
    return null;
}
 
Example #10
Source File: PSVIAttrNSImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Copy PSVI properties from another psvi item.
 *
 * @param attr  the source of attribute PSVI items
 */
public void setPSVI(AttributePSVI attr) {
    this.fDeclaration = attr.getAttributeDeclaration();
    this.fValidationContext = attr.getValidationContext();
    this.fValidity = attr.getValidity();
    this.fValidationAttempted = attr.getValidationAttempted();
    this.fErrorCodes = attr.getErrorCodes();
    this.fNormalizedValue = attr.getSchemaNormalizedValue();
    this.fActualValue = attr.getActualNormalizedValue();
    this.fActualValueType = attr.getActualNormalizedValueType();
    this.fItemValueTypes = attr.getItemValueTypes();
    this.fTypeDecl = attr.getTypeDefinition();
    this.fMemberType = attr.getMemberTypeDefinition();
    this.fSpecified = attr.getIsSchemaSpecified();
}
 
Example #11
Source File: ValidatorHandlerImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
private TypeInfo getAttributeType( int index ) {
    checkState(false);
    if( index<0 || fAttributes.getLength()<=index )
        throw new IndexOutOfBoundsException(Integer.toString(index));
    Augmentations augs = fAttributes.getAugmentations(index);
    if (augs == null) return null;
    AttributePSVI psvi = (AttributePSVI)augs.getItem(Constants.ATTRIBUTE_PSVI);
    return getTypeInfoFromPSVI(psvi);
}
 
Example #12
Source File: ValidatorHandlerImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
private TypeInfo getAttributeType( int index ) {
    checkState(false);
    if( index<0 || fAttributes.getLength()<=index )
        throw new IndexOutOfBoundsException(Integer.toString(index));
    Augmentations augs = fAttributes.getAugmentations(index);
    if (augs == null) return null;
    AttributePSVI psvi = (AttributePSVI)augs.getItem(Constants.ATTRIBUTE_PSVI);
    return getTypeInfoFromPSVI(psvi);
}
 
Example #13
Source File: AttributePSVImpl.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
public AttributePSVImpl(boolean isConstant, AttributePSVI attrPSVI) {
    fDeclaration = attrPSVI.getAttributeDeclaration();
    fTypeDecl = attrPSVI.getTypeDefinition();
    fSpecified = attrPSVI.getIsSchemaSpecified();
    fValue.copyFrom(attrPSVI.getSchemaValue());
    fValidationAttempted = attrPSVI.getValidationAttempted();
    fValidity = attrPSVI.getValidity();
    if (attrPSVI instanceof AttributePSVImpl) {
        final AttributePSVImpl attrPSVIImpl = (AttributePSVImpl) attrPSVI;
        fErrors = (attrPSVIImpl.fErrors != null) ? attrPSVIImpl.fErrors.clone() : null;
    }
    else {
        final StringList errorCodes = attrPSVI.getErrorCodes();
        final int length = errorCodes.getLength();
        if (length > 0) {
            final StringList errorMessages = attrPSVI.getErrorMessages();
            final String[] errors = new String[length << 1];
            for (int i = 0, j = 0; i < length; ++i) {
                errors[j++] = errorCodes.item(i);
                errors[j++] = errorMessages.item(i);
            }
            fErrors = errors;
        }
    }
    fValidationContext = attrPSVI.getValidationContext();
    fIsConstant = isConstant;
}
 
Example #14
Source File: ShortHandPointer.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns the schema-determined-ID.
 *
 *
 * @param attributes
 * @param index
 * @return A String containing the schema-determined ID.
 * @throws XNIException
 */
public String getSchemaDeterminedID(XMLAttributes attributes, int index)
throws XNIException {
    Augmentations augs = attributes.getAugmentations(index);
    AttributePSVI attrPSVI = (AttributePSVI) augs
    .getItem(Constants.ATTRIBUTE_PSVI);

    if (attrPSVI != null) {
        // An element or attribute information item is a schema-determined
        // ID if and only if one of the following is true:]

        // 1. It has a [member type definition] or [type definition] property
        // whose value in turn has [name] equal to ID and [target namespace]
        // equal to http://www.w3.org/2001/XMLSchema;

        // 2. It has a [base type definition] whose value has that [name] and [target namespace];

        // 3. It has a [base type definition] whose value has a [base type definition]
        // whose value has that [name] and [target namespace], and so on following
        // the [base type definition] property recursively;

        XSTypeDefinition typeDef = attrPSVI.getMemberTypeDefinition();
        if (typeDef != null) {
            typeDef = attrPSVI.getTypeDefinition();
        }

        //
        if (typeDef != null && ((XSSimpleType) typeDef).isIDType()) {
            return attrPSVI.getSchemaNormalizedValue();
        }

        // 4 & 5 NA
    }

    return null;
}
 
Example #15
Source File: ShortHandPointer.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
/**
 * Returns the schema-determined-ID.
 *
 *
 * @param attributes
 * @param index
 * @return A String containing the schema-determined ID.
 * @throws XNIException
 */
public String getSchemaDeterminedID(XMLAttributes attributes, int index)
throws XNIException {
    Augmentations augs = attributes.getAugmentations(index);
    AttributePSVI attrPSVI = (AttributePSVI) augs
    .getItem(Constants.ATTRIBUTE_PSVI);

    if (attrPSVI != null) {
        // An element or attribute information item is a schema-determined
        // ID if and only if one of the following is true:]

        // 1. It has a [member type definition] or [type definition] property
        // whose value in turn has [name] equal to ID and [target namespace]
        // equal to http://www.w3.org/2001/XMLSchema;

        // 2. It has a [base type definition] whose value has that [name] and [target namespace];

        // 3. It has a [base type definition] whose value has a [base type definition]
        // whose value has that [name] and [target namespace], and so on following
        // the [base type definition] property recursively;

        XSTypeDefinition typeDef = attrPSVI.getMemberTypeDefinition();
        if (typeDef != null) {
            typeDef = attrPSVI.getTypeDefinition();
        }

        //
        if (typeDef != null && ((XSSimpleType) typeDef).isIDType()) {
            return attrPSVI.getSchemaValue().getNormalizedValue();
        }

        // 4 & 5 NA
    }

    return null;
}
 
Example #16
Source File: ValidatorHandlerImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
AttributePSVI getAttributePSVI(int index) {
    if (fAttributes != null) {
        Augmentations augs = fAttributes.getAugmentations(index);
        if (augs != null) {
            return (AttributePSVI) augs.getItem(Constants.ATTRIBUTE_PSVI);
        }
    }
    return null;
}
 
Example #17
Source File: ShortHandPointer.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
/**
 * Returns the schema-determined-ID.
 *
 *
 * @param attributes
 * @param index
 * @return A String containing the schema-determined ID.
 * @throws XNIException
 */
public String getSchemaDeterminedID(XMLAttributes attributes, int index)
throws XNIException {
    Augmentations augs = attributes.getAugmentations(index);
    AttributePSVI attrPSVI = (AttributePSVI) augs
    .getItem(Constants.ATTRIBUTE_PSVI);

    if (attrPSVI != null) {
        // An element or attribute information item is a schema-determined
        // ID if and only if one of the following is true:]

        // 1. It has a [member type definition] or [type definition] property
        // whose value in turn has [name] equal to ID and [target namespace]
        // equal to http://www.w3.org/2001/XMLSchema;

        // 2. It has a [base type definition] whose value has that [name] and [target namespace];

        // 3. It has a [base type definition] whose value has a [base type definition]
        // whose value has that [name] and [target namespace], and so on following
        // the [base type definition] property recursively;

        XSTypeDefinition typeDef = attrPSVI.getMemberTypeDefinition();
        if (typeDef != null) {
            typeDef = attrPSVI.getTypeDefinition();
        }

        //
        if (typeDef != null && ((XSSimpleType) typeDef).isIDType()) {
            return attrPSVI.getSchemaNormalizedValue();
        }

        // 4 & 5 NA
    }

    return null;
}
 
Example #18
Source File: ValidatorHandlerImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
private TypeInfo getAttributeType( int index ) {
    checkState(false);
    if( index<0 || fAttributes.getLength()<=index )
        throw new IndexOutOfBoundsException(Integer.toString(index));
    Augmentations augs = fAttributes.getAugmentations(index);
    if (augs == null) return null;
    AttributePSVI psvi = (AttributePSVI)augs.getItem(Constants.ATTRIBUTE_PSVI);
    return getTypeInfoFromPSVI(psvi);
}
 
Example #19
Source File: AttributePSVImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Reset()
 */
public void reset() {
    fNormalizedValue = null;
    fActualValue = null;
    fActualValueType = XSConstants.UNAVAILABLE_DT;
    fItemValueTypes = null;
    fDeclaration = null;
    fTypeDecl = null;
    fSpecified = false;
    fMemberType = null;
    fValidationAttempted = AttributePSVI.VALIDATION_NONE;
    fValidity = AttributePSVI.VALIDITY_NOTKNOWN;
    fErrorCodes = null;
    fValidationContext = null;
}
 
Example #20
Source File: AttributePSVImpl.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
/**
 * Reset()
 */
public void reset() {
    fValue.reset();
    fDeclaration = null;
    fTypeDecl = null;
    fSpecified = false;
    fValidationAttempted = AttributePSVI.VALIDATION_NONE;
    fValidity = AttributePSVI.VALIDITY_NOTKNOWN;
    fErrors = null;
    fValidationContext = null;
}
 
Example #21
Source File: ShortHandPointer.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/**
 * Returns the schema-determined-ID.
 *
 *
 * @param attributes
 * @param index
 * @return A String containing the schema-determined ID.
 * @throws XNIException
 */
public String getSchemaDeterminedID(XMLAttributes attributes, int index)
throws XNIException {
    Augmentations augs = attributes.getAugmentations(index);
    AttributePSVI attrPSVI = (AttributePSVI) augs
    .getItem(Constants.ATTRIBUTE_PSVI);

    if (attrPSVI != null) {
        // An element or attribute information item is a schema-determined
        // ID if and only if one of the following is true:]

        // 1. It has a [member type definition] or [type definition] property
        // whose value in turn has [name] equal to ID and [target namespace]
        // equal to http://www.w3.org/2001/XMLSchema;

        // 2. It has a [base type definition] whose value has that [name] and [target namespace];

        // 3. It has a [base type definition] whose value has a [base type definition]
        // whose value has that [name] and [target namespace], and so on following
        // the [base type definition] property recursively;

        XSTypeDefinition typeDef = attrPSVI.getMemberTypeDefinition();
        if (typeDef != null) {
            typeDef = attrPSVI.getTypeDefinition();
        }

        //
        if (typeDef != null && ((XSSimpleType) typeDef).isIDType()) {
            return attrPSVI.getSchemaNormalizedValue();
        }

        // 4 & 5 NA
    }

    return null;
}
 
Example #22
Source File: ShortHandPointer.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns the schema-determined-ID.
 *
 *
 * @param attributes
 * @param index
 * @return A String containing the schema-determined ID.
 * @throws XNIException
 */
public String getSchemaDeterminedID(XMLAttributes attributes, int index)
throws XNIException {
    Augmentations augs = attributes.getAugmentations(index);
    AttributePSVI attrPSVI = (AttributePSVI) augs
    .getItem(Constants.ATTRIBUTE_PSVI);

    if (attrPSVI != null) {
        // An element or attribute information item is a schema-determined
        // ID if and only if one of the following is true:]

        // 1. It has a [member type definition] or [type definition] property
        // whose value in turn has [name] equal to ID and [target namespace]
        // equal to http://www.w3.org/2001/XMLSchema;

        // 2. It has a [base type definition] whose value has that [name] and [target namespace];

        // 3. It has a [base type definition] whose value has a [base type definition]
        // whose value has that [name] and [target namespace], and so on following
        // the [base type definition] property recursively;

        XSTypeDefinition typeDef = attrPSVI.getMemberTypeDefinition();
        if (typeDef != null) {
            typeDef = attrPSVI.getTypeDefinition();
        }

        //
        if (typeDef != null && ((XSSimpleType) typeDef).isIDType()) {
            return attrPSVI.getSchemaNormalizedValue();
        }

        // 4 & 5 NA
    }

    return null;
}
 
Example #23
Source File: AttributePSVImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/**
 * Reset()
 */
public void reset() {
    fNormalizedValue = null;
    fActualValue = null;
    fActualValueType = XSConstants.UNAVAILABLE_DT;
    fItemValueTypes = null;
    fDeclaration = null;
    fTypeDecl = null;
    fSpecified = false;
    fMemberType = null;
    fValidationAttempted = AttributePSVI.VALIDATION_NONE;
    fValidity = AttributePSVI.VALIDITY_NOTKNOWN;
    fErrorCodes = null;
    fValidationContext = null;
}
 
Example #24
Source File: ValidatorHandlerImpl.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
private TypeInfo getAttributeType( int index ) {
    checkState(false);
    if( index<0 || fAttributes.getLength()<=index )
        throw new IndexOutOfBoundsException(Integer.toString(index));
    Augmentations augs = fAttributes.getAugmentations(index);
    if (augs == null) return null;
    AttributePSVI psvi = (AttributePSVI)augs.getItem(Constants.ATTRIBUTE_PSVI);
    return getTypeInfoFromPSVI(psvi);
}
 
Example #25
Source File: PSVIAttrNSImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/**
 * Copy PSVI properties from another psvi item.
 *
 * @param attr  the source of attribute PSVI items
 */
public void setPSVI(AttributePSVI attr) {
    this.fDeclaration = attr.getAttributeDeclaration();
    this.fValidationContext = attr.getValidationContext();
    this.fValidity = attr.getValidity();
    this.fValidationAttempted = attr.getValidationAttempted();
    this.fErrorCodes = attr.getErrorCodes();
    this.fNormalizedValue = attr.getSchemaNormalizedValue();
    this.fActualValue = attr.getActualNormalizedValue();
    this.fActualValueType = attr.getActualNormalizedValueType();
    this.fItemValueTypes = attr.getItemValueTypes();
    this.fTypeDecl = attr.getTypeDefinition();
    this.fMemberType = attr.getMemberTypeDefinition();
    this.fSpecified = attr.getIsSchemaSpecified();
}
 
Example #26
Source File: ValidatorHandlerImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
AttributePSVI getAttributePSVI(int index) {
    if (fAttributes != null) {
        Augmentations augs = fAttributes.getAugmentations(index);
        if (augs != null) {
            return (AttributePSVI) augs.getItem(Constants.ATTRIBUTE_PSVI);
        }
    }
    return null;
}
 
Example #27
Source File: ValidatorHandlerImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
AttributePSVI getAttributePSVIByName(String uri, String localname) {
    if (fAttributes != null) {
        Augmentations augs = fAttributes.getAugmentations(uri, localname);
        if (augs != null) {
            return (AttributePSVI) augs.getItem(Constants.ATTRIBUTE_PSVI);
        }
    }
    return null;
}
 
Example #28
Source File: ValidatorHandlerImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
private TypeInfo getAttributeType( int index ) {
    checkState(false);
    if( index<0 || fAttributes.getLength()<=index )
        throw new IndexOutOfBoundsException(Integer.toString(index));
    Augmentations augs = fAttributes.getAugmentations(index);
    if (augs == null) return null;
    AttributePSVI psvi = (AttributePSVI)augs.getItem(Constants.ATTRIBUTE_PSVI);
    return getTypeInfoFromPSVI(psvi);
}
 
Example #29
Source File: ValidatorHandlerImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
AttributePSVI getAttributePSVIByName(String uri, String localname) {
    if (fAttributes != null) {
        Augmentations augs = fAttributes.getAugmentations(uri, localname);
        if (augs != null) {
            return (AttributePSVI) augs.getItem(Constants.ATTRIBUTE_PSVI);
        }
    }
    return null;
}
 
Example #30
Source File: PSVIAttrNSImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Copy PSVI properties from another psvi item.
 *
 * @param attr  the source of attribute PSVI items
 */
public void setPSVI(AttributePSVI attr) {
    this.fDeclaration = attr.getAttributeDeclaration();
    this.fValidationContext = attr.getValidationContext();
    this.fValidity = attr.getValidity();
    this.fValidationAttempted = attr.getValidationAttempted();
    this.fErrorCodes = attr.getErrorCodes();
    this.fNormalizedValue = attr.getSchemaNormalizedValue();
    this.fActualValue = attr.getActualNormalizedValue();
    this.fActualValueType = attr.getActualNormalizedValueType();
    this.fItemValueTypes = attr.getItemValueTypes();
    this.fTypeDecl = attr.getTypeDefinition();
    this.fMemberType = attr.getMemberTypeDefinition();
    this.fSpecified = attr.getIsSchemaSpecified();
}