26 import com.sun.org.apache.xerces.internal.impl.validation.ValidationState;
27 import com.sun.org.apache.xerces.internal.impl.xs.SchemaNamespaceSupport;
28 import com.sun.org.apache.xerces.internal.impl.xs.SchemaSymbols;
29 import com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaException;
30 import com.sun.org.apache.xerces.internal.impl.xs.util.XInt;
31 import com.sun.org.apache.xerces.internal.util.SymbolTable;
32 import org.w3c.dom.Element;
33 import org.w3c.dom.Node;
34 import org.w3c.dom.Attr;
35 import org.w3c.dom.NamedNodeMap;
36
37 /**
38 * Objects of this class hold all information pecular to a
39 * particular XML Schema document. This is needed because
40 * namespace bindings and other settings on the <schema/> element
41 * affect the contents of that schema document alone.
42 *
43 * @xerces.internal
44 *
45 * @author Neil Graham, IBM
46 * @version $Id: XSDocumentInfo.java,v 1.5 2007/10/15 22:27:48 spericas Exp $
47 */
48 class XSDocumentInfo {
49
50 // Data
51 protected SchemaNamespaceSupport fNamespaceSupport;
52 protected SchemaNamespaceSupport fNamespaceSupportRoot;
53 protected Stack SchemaNamespaceSupportStack = new Stack();
54
55 // schema's attributeFormDefault
56 protected boolean fAreLocalAttributesQualified;
57
58 // elementFormDefault
59 protected boolean fAreLocalElementsQualified;
60
61 // [block | final]Default
62 protected short fBlockDefault;
63 protected short fFinalDefault;
64
65 // targetNamespace
66 String fTargetNamespace;
|
26 import com.sun.org.apache.xerces.internal.impl.validation.ValidationState;
27 import com.sun.org.apache.xerces.internal.impl.xs.SchemaNamespaceSupport;
28 import com.sun.org.apache.xerces.internal.impl.xs.SchemaSymbols;
29 import com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaException;
30 import com.sun.org.apache.xerces.internal.impl.xs.util.XInt;
31 import com.sun.org.apache.xerces.internal.util.SymbolTable;
32 import org.w3c.dom.Element;
33 import org.w3c.dom.Node;
34 import org.w3c.dom.Attr;
35 import org.w3c.dom.NamedNodeMap;
36
37 /**
38 * Objects of this class hold all information pecular to a
39 * particular XML Schema document. This is needed because
40 * namespace bindings and other settings on the <schema/> element
41 * affect the contents of that schema document alone.
42 *
43 * @xerces.internal
44 *
45 * @author Neil Graham, IBM
46 */
47 class XSDocumentInfo {
48
49 // Data
50 protected SchemaNamespaceSupport fNamespaceSupport;
51 protected SchemaNamespaceSupport fNamespaceSupportRoot;
52 protected Stack SchemaNamespaceSupportStack = new Stack();
53
54 // schema's attributeFormDefault
55 protected boolean fAreLocalAttributesQualified;
56
57 // elementFormDefault
58 protected boolean fAreLocalElementsQualified;
59
60 // [block | final]Default
61 protected short fBlockDefault;
62 protected short fFinalDefault;
63
64 // targetNamespace
65 String fTargetNamespace;
|