Searched refs:schema (Results 1 - 25 of 137) sorted by relevance

123456

/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/impl/parser/
H A DSchemaDocumentImpl.java42 private final SchemaImpl schema; field in class:SchemaDocumentImpl
45 * URI of the schema document to be parsed. Can be null.
59 protected SchemaDocumentImpl(SchemaImpl schema, String _schemaDocumentURI) { argument
60 this.schema = schema;
69 return schema.getTargetNamespace();
73 return schema;
98 return doc.getSchema()==schema;
104 return doc.getSchema()!=schema;
119 return this.schema
[all...]
H A DDelayedRef.java54 this.schema = _schema.getRoot();
66 * to a schema component.
77 protected final XSSchemaSet schema; field in class:DelayedRef
117 public Type( PatcherManager manager, Locator loc, SchemaImpl schema, UName name ) { argument
118 super(manager,loc,schema,name);
121 Object o = super.schema.getSimpleType(
125 return super.schema.getComplexType(
137 public SimpleType( PatcherManager manager, Locator loc, SchemaImpl schema, UName name ) { argument
138 super(manager,loc,schema,name);
143 return super.schema
154 ComplexType( PatcherManager manager, Locator loc, SchemaImpl schema, UName name ) argument
171 Element( PatcherManager manager, Locator loc, SchemaImpl schema, UName name ) argument
189 ModelGroup( PatcherManager manager, Locator loc, SchemaImpl schema, UName name ) argument
207 AttGroup( PatcherManager manager, Locator loc, SchemaImpl schema, UName name ) argument
224 Attribute( PatcherManager manager, Locator loc, SchemaImpl schema, UName name ) argument
241 IdentityConstraint( PatcherManager manager, Locator loc, SchemaImpl schema, UName name ) argument
[all...]
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/validation/
H A DXMLSchemaValidator.java44 private Reader schema = null; field in class:XMLSchemaValidator
46 public XMLSchemaValidator(Node doc, Reader schema) { argument
48 this.schema = schema;
53 if (node == null || schema == null)
56 Source schemaFile = new StreamSource(schema);
57 Schema schema = factory.newSchema(schemaFile);
58 Validator validator = schema.newValidator();
H A DLargeMaxOccursTest.java42 * @summary Test Validator shall report error for maxOccurs > 5000 when FEATURE_SECURE_PROCESSING is on, except the schema can be applied for constant-space algorithm.
52 Schema schema = sf.newSchema(new File(getClass().getResource(xsdFile).toURI()));
53 Validator validator = schema.newValidator();
65 Schema schema = sf.newSchema(new File(getClass().getResource(xsdFile).toURI()));
66 Validator validator = schema.newValidator();
78 Schema schema = sf.newSchema(new File(getClass().getResource(xsdFile).toURI()));
79 Validator validator = schema.newValidator();
91 Schema schema = sf.newSchema(new File(getClass().getResource(xsdFile).toURI()));
92 Validator validator = schema.newValidator();
105 Schema schema
[all...]
H A DBug6925531Test.java62 String xsd = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + " xmlns:test='jaxp13_test'\n"
64 + "</schema>\n";
92 Schema schema = null;
94 schema = schemaFactory.newSchema(xsdSource);
99 Validator validator = schema.newValidator();
136 Schema schema = null;
138 schema = schemaFactory.newSchema(xsdSource);
143 Validator validator = schema.newValidator();
164 Schema schema = null;
166 schema
[all...]
H A DTCKGroupA008Test.java55 Schema schema = factory.newSchema(schemaLocation);
56 Validator validator = schema.newValidator();
H A DParticlesIg004Test.java52 Schema schema = sf.newSchema(new File(getClass().getResource(xsdFile).toURI()));
53 Validator validator = schema.newValidator();
H A DBug5011500.java54 public static final String XSD = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + " xmlns:test='jaxp13_test'\n"
57 + " </complexType>\n" + " </element>\n" + "</schema>\n";
86 Schema schema = schemaFactory.newSchema(xsdSource);
88 this.validatorHandler = schema.newValidatorHandler();
89 this.validator = schema.newValidator();
H A DBug6378043.java49 Schema schema = SchemaFactory.newInstance(SCHEMA_LANG).newSchema(this.getClass().getResource("idI009.xsd"));
/openjdk10/jdk/test/javax/xml/jaxp/validation/8049514/
H A DFeaturePropagationTest.java48 static String xsd = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n"
53 + "</schema>\n";
61 Schema schema = null;
62 schema = schemaFactory.newSchema(xsdSource);
64 Validator validator = schema.newValidator();
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/schemagen/
H A DForm.java43 void declare(String attName,Schema schema) {
44 schema._attribute(attName,"qualified");
48 void declare(String attName,Schema schema) {
51 schema._attribute(attName,"unqualified");
55 void declare(String attName,Schema schema) {
75 * Writes the attribute on the generated {@code <schema>} element.
77 abstract void declare(String attName, Schema schema); argument
/openjdk10/jaxp/src/java.xml/share/classes/javax/xml/validation/
H A DSchemaFactory.java45 * {@link SchemaFactory} is a schema compiler. It reads external
63 * This spec uses a namespace URI to designate a schema language.
68 * if it chooses to support other schema languages listed here,
75 * implementations for other schema languages at run-time.
135 * but may support additional <a href="#schemaLanguage">schema languages</a>.
148 * schema language and return it.
150 * <p>To find a {@code SchemaFactory} object for a given schema language,
193 * The first service provider found that supports the specified schema
213 * need to be escaped in a property file, so make sure schema language
220 * Specifies the schema languag
669 newSchema(Source schema) argument
685 newSchema(File schema) argument
701 newSchema(URL schema) argument
[all...]
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/validation/tck/
H A DRegexWord.java60 Schema schema = schemaFactory.newSchema(new StreamSource(RegexWord.class.getResourceAsStream("reZ003.xsd")));
61 Validator validator = schema.newValidator();
H A DParticleTest.java60 Schema schema = schemaFactory.newSchema(new StreamSource(ParticleTest.class.getResourceAsStream("upa01.xsd")));
61 Validator validator = schema.newValidator();
H A DBug6971190Test.java57 Schema schema = schemaFactory.newSchema(new StreamSource(Bug6971190Test.class.getResourceAsStream("Bug6971190.xsd")));
58 Validator validator = schema.newValidator();
89 Schema schema = schemaFactory.newSchema(new StreamSource(Bug6971190Test.class.getResourceAsStream("Bug6971190_v.xsd")));
90 Validator validator = schema.newValidator();
H A DBug6974551Test.java62 Schema schema = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI).newSchema(new StreamSource(_xsd));
66 spf.setSchema(schema);
83 Schema schema = schemaFactory.newSchema(new StreamSource(_xsd));
84 Validator validator = schema.newValidator();
/openjdk10/jdk/test/javax/xml/jaxp/validation/8015243/
H A DAnyURITest.java50 Schema schema = schemaFactory.newSchema(new File(System.getProperty("test.src", "."), XSDFILE));
/openjdk10/jdk/src/java.naming/share/classes/com/sun/jndi/ldap/
H A DLdapAttribute.java35 * This subclass is used by LDAP to implement the schema calls.
37 * so it can get the schema for that context.
97 * Sets the baseCtx and rdn used to find the attribute's schema
183 DirContext schema = getBaseCtx().getSchema(rdn);
184 DirContext attrDef = (DirContext)schema.lookup(
196 // look in the schema tree for the syntax definition
197 return (DirContext)schema.lookup(
202 * Retrieves this attribute's schema definition.
204 * @return This attribute's schema definition.
207 DirContext schema
[all...]
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/server/
H A DServerSchemaValidationTube.java51 * {@link Tube} that does the schema validation on the server side.
59 private final Schema schema; field in class:ServerSchemaValidationTube
76 LOGGER.fine("Constructing service validation schema from = "+source.getSystemId());
83 schema = sf.newSchema(sources);
87 validator = schema.newValidator();
92 schema = null;
142 this.schema = that.schema; // Schema is thread-safe
143 this.validator = schema.newValidator();
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/client/
H A DClientSchemaValidationTube.java48 * {@link Tube} that does the schema validation on the client side.
56 private final Schema schema; field in class:ClientSchemaValidationTube
71 LOGGER.fine("Constructing client validation schema from = "+source.getSystemId());
78 schema = sf.newSchema(sources);
82 validator = schema.newValidator();
87 schema = null;
102 this.schema = that.schema;
103 this.validator = schema.newValidator();
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/impl/scd/
H A DAxis.java191 public Iterator<XSComponent> schema(XSSchema schema) {
192 if(visited.add(schema))
193 return ret( schema, new Recursion(schema.iterateElementDecls()));
289 return "x-schema::";
321 public Iterator<XSAttributeDecl> schema(XSSchema schema) {
322 return schema.iterateAttributeDecls();
335 public Iterator<XSElementDecl> schema(XSSchem
[all...]
/openjdk10/jdk/test/javax/xml/jaxp/testng/validation/jdk8036951/
H A DFeaturePropagationTest.java44 public final String FEATURE_STRING_DEFAULT_TRUE = "http://apache.org/xml/features/validation/schema-full-checking";
64 Schema schema = makeSchema(factory, null);
65 Validator validator = schema.newValidator();
79 Schema schema = makeSchema(factory, null);
80 Validator validator = schema.newValidator();
99 Schema schema = makeSchema(factory, null);
100 Validator validator = schema.newValidator();
139 Schema schema = makeSchema(factory, sources);
140 Validator validator = schema.newValidator();
150 schema
[all...]
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/parsers/
H A DBug6564400.java55 * @summary Test ignorable whitespace handling with schema validation.
60 Schema schema = null; field in class:Bug6564400
66 // Now attempt to load up the schema
69 schema = schFactory.newSchema(new StreamSource(getClass().getResourceAsStream(xsdFile)));
81 // and validate against the schema.
85 docFactory.setSchema(schema);
100 saxFactory.setSchema(schema);
115 // and validate against the schema.
119 docFactory.setSchema(schema);
120 docFactory.setFeature("http://java.sun.com/xml/schema/feature
[all...]
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/impl/
H A DSchemaSetImpl.java78 * Gets a reference to the existing schema or creates a new one
109 XSSchema schema = getSchema(ns);
110 if(schema==null) return null;
112 return schema.getType(localName);
116 XSSchema schema = getSchema(ns);
117 if(schema==null) return null;
119 return schema.getSimpleType(localName);
123 XSSchema schema = getSchema(ns);
124 if(schema==null) return null;
126 return schema
[all...]
/openjdk10/jaxws/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/wsdl/document/schema/
H A DSchemaKinds.java26 package com.sun.tools.internal.ws.wsdl.document.schema;

Completed in 264 milliseconds

123456