Lines Matching refs:XSSimpleType
28 import com.sun.org.apache.xerces.internal.impl.dv.XSSimpleType;
94 XSSimpleType traverseGlobal(Element elmNode,
104 XSSimpleType type = traverseSimpleTypeDecl(elmNode, attrValues, schemaDoc, grammar);
129 if (type2 instanceof XSSimpleType) {
130 type = (XSSimpleType) type2;
140 XSSimpleType traverseLocal(Element elmNode,
147 XSSimpleType type = getSimpleType (name, elmNode, attrValues, schemaDoc, grammar);
156 private XSSimpleType traverseSimpleTypeDecl(Element simpleTypeDecl,
192 private XSSimpleType getSimpleType(String name, Element simpleTypeDecl, Object[] attrValues, XSDocumentInfo schemaDoc, SchemaGrammar grammar) {
281 XSSimpleType baseValidator = null;
292 XSSimpleType dv = null;
304 if (dv.getVariety() == XSSimpleType.VARIETY_UNION) {
338 if (dv.getVariety() == XSSimpleType.VARIETY_UNION) {
383 XSSimpleType newDecl = null;
393 XSSimpleType[] memberDecls = (XSSimpleType[]) dTValidators.toArray(new XSSimpleType[dTValidators.size()]);
432 //return XSSimpleType available for the baseTypeStr, null if not found or disallowed.
435 private XSSimpleType findDTValidator(Element elm, String refName,
475 return (XSSimpleType)baseType;
489 private boolean isListDatatype(XSSimpleType validator) {
490 if (validator.getVariety() == XSSimpleType.VARIETY_LIST)
493 if (validator.getVariety() == XSSimpleType.VARIETY_UNION) {
496 if (((XSSimpleType)temp.item(i)).getVariety() == XSSimpleType.VARIETY_LIST) {
505 private XSSimpleType errorType(String name, String namespace, short refType) {
506 XSSimpleType stringType = (XSSimpleType)SchemaGrammar.SG_SchemaNS.getTypeDefinition("string");
516 new XSSimpleType[]{stringType}, null);