asattributedeclaration.java

来自「JAVA的一些源码 JAVA2 STANDARD EDITION DEVELO」· Java 代码 · 共 85 行

JAVA
85
字号
/* * Copyright (c) 2001 World Wide Web Consortium, * (Massachusetts Institute of Technology, Institut National de * Recherche en Informatique et en Automatique, Keio University). All * Rights Reserved. This program is distributed under the W3C's Software * Intellectual Property License. This program is distributed in the * hope that it will be useful, but WITHOUT ANY WARRANTY; without even * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. * See W3C License http://www.w3.org/Consortium/Legal/ for more details. */package com.sun.org.apache.xerces.internal.dom3.as;/** * @deprecated * An attribute declaration in the context of a <code>ASObject</code>.The  * constant 'REQUIRED' is missing from this interface. * <p>See also the <a href='http://www.w3.org/TR/2001/WD-DOM-Level-3-ASLS-20011025'>Document Object Model (DOM) Level 3 Abstract Schemas and Loadand Save Specification</a>. */public interface ASAttributeDeclaration extends ASObject {    // VALUE_TYPES    /**     * Describes that the attribute does not have any value constraint.     */    public static final short VALUE_NONE                = 0;    /**     * Indicates that the there is a default value constraint.     */    public static final short VALUE_DEFAULT             = 1;    /**     * Indicates that there is a fixed value constraint for this attribute.     */    public static final short VALUE_FIXED               = 2;    /**     * Datatype of the attribute.     */    public ASDataType getDataType();    /**     * Datatype of the attribute.     */    public void setDataType(ASDataType dataType);    /**     * Default or fixed value.     */    public String getDataValue();    /**     * Default or fixed value.     */    public void setDataValue(String dataValue);    /**     * Valid attribute values, separated by commas, in a string.     */    public String getEnumAttr();    /**     * Valid attribute values, separated by commas, in a string.     */    public void setEnumAttr(String enumAttr);    /**     * Owner elements <code>ASObject</code> of attribute, meaning that an      * attribute declaration can be shared by multiple elements.     */    public ASObjectList getOwnerElements();    /**     * Owner elements <code>ASObject</code> of attribute, meaning that an      * attribute declaration can be shared by multiple elements.     */    public void setOwnerElements(ASObjectList ownerElements);    /**     * Constraint type if any for this attribute.     */    public short getDefaultType();    /**     * Constraint type if any for this attribute.     */    public void setDefaultType(short defaultType);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?