286N/A * reserved comment block 286N/A * DO NOT REMOVE OR ALTER! 286N/A * Copyright 2001-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 * The XML representation for an element declaration 286N/A * schema component is an <element> element information item 286N/A * @author Elena Litani, IBM 286N/A * @author Sandy Gao, IBM 286N/A // target namespace of the element 286N/A // enclosing complex type, when the scope is local 286N/A // block set (disallowed substitutions) of the element 286N/A // final set (substitution group exclusions) of the element 286N/A // value constraint value 286N/A // the substitution group affiliation of the element 286N/A // identity constraints 286N/A // The namespace schema information item corresponding to the target namespace 286N/A // of the element declaration, if it is globally declared; or null otherwise. 286N/A // first clear the bits 286N/A // then set the proper one 286N/A * get the string description of this element 286N/A * whether two decls are the same 286N/A * Reset current element declaration 286N/A // reset identity constraints 286N/A * Get the type of the object, i.e ELEMENT_DECLARATION. 286N/A * The <code>name</code> of this <code>XSObject</code> depending on the 286N/A * <code>XSObject</code> type. 286N/A * The namespace URI of this node, or <code>null</code> if it is 286N/A * unspecified. defines how a namespace URI is attached to schema 286N/A * Either a simple type definition or a complex type definition. 286N/A * Optional. Either global or a complex type definition ( 286N/A * <code>ctDefinition</code>). This property is absent in the case of 286N/A * declarations within named model groups: their scope will be 286N/A * determined when they are used in the construction of complex type 286N/A * Locally scoped declarations are available for use only within the 286N/A * complex type definition identified by the <code>scope</code> 286N/A * A value constraint: one of default, fixed. 286N/A * A value constraint: The actual value (with respect to the {type 286N/A // REVISIT: SCAPI: what's the proper representation 286N/A * If {nillable} is true, then an element may also be valid if it carries 286N/A * the namespace qualified attribute with [local name] nil from 286N/A * (see xsi:nil (2.6.2)) even if it has no text or element content 286N/A * despite a {content type} which would otherwise require content. 286N/A * {identity-constraint definitions} A set of constraint definitions. 286N/A * {substitution group affiliation} Optional. A top-level element 286N/A * Convenience method. Check if <code>exclusion</code> is a substitution 286N/A * group exclusion for this element declaration. 286N/A * @param exclusion Extension, restriction or none. Represents final 286N/A * @return True if <code>exclusion</code> is a part of the substitution 286N/A * group exclusion subset. 286N/A * Specifies if this declaration can be nominated as 286N/A * the {substitution group affiliation} of other 286N/A * element declarations having the same {type definition} 286N/A * or types derived therefrom. 286N/A * @return A bit flag representing {extension, restriction} or NONE. 286N/A * Convenience method. Check if <code>disallowed</code> is a disallowed 286N/A * substitution for this element declaration. 286N/A * @param disallowed Substitution, extension, restriction or none. 286N/A * Represents a block set for the element. 286N/A * @return True if <code>disallowed</code> is a part of the substitution 286N/A * group exclusion subset. 286N/A * The supplied values for {disallowed substitutions} 286N/A * @return A bit flag representing {substitution, extension, restriction} or NONE. 286N/A * {abstract} A boolean. 286N/A * Optional. Annotation. 286N/A * Optional. Annotations. 286N/A * @see org.apache.xerces.xs.XSObject#getNamespaceItem() 286N/A}
// class XSElementDecl