All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.msv.grammar.xmlschema.AttributeDeclExp Maven / Gradle / Ivy

There is a newer version: 2.2.5.1
Show newest version
/*
 * @(#)$Id: AttributeDeclExp.java,v 1.9 2003/06/09 20:37:22 kk122374 Exp $
 *
 * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
 * 
 * This software is the proprietary information of Sun Microsystems, Inc.  
 * Use is subject to license terms.
 * 
 */
package com.sun.msv.grammar.xmlschema;

import com.sun.msv.grammar.AttributeExp;
import com.sun.msv.grammar.ReferenceExp;

/**
 * global attribute declaration.
 * 
 * The exp field of this object is not much useful.
 * 
 * @author Kohsuke KAWAGUCHI
 */
public class AttributeDeclExp extends ReferenceExp {
    
    /**
     * name of this attribute declaration.
     * According to the spec, the name must be unique within one schema
     * (in our object model, one XMLSchemaSchema object).
     */
    public AttributeDeclExp( String typeLocalName ) {
        super(typeLocalName);
    }
    
    /**
     * actual definition. This expression contains meaningful information.
     */
    public AttributeExp self;
    
    public void set( AttributeExp exp ) {
        self = exp;
        this.exp = self;
    }
    
    // serialization support
    private static final long serialVersionUID = 1;    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy