Java Code Examples for com.sun.org.apache.xerces.internal.impl.dv.XSSimpleType#VARIETY_LIST
The following examples show how to use
com.sun.org.apache.xerces.internal.impl.dv.XSSimpleType#VARIETY_LIST .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: XSDAbstractTraverser.java From jdk1.8-source-analysis with Apache License 2.0 | 6 votes |
private boolean containsQName(XSSimpleType type) { if (type.getVariety() == XSSimpleType.VARIETY_ATOMIC) { short primitive = type.getPrimitiveKind(); return (primitive == XSSimpleType.PRIMITIVE_QNAME || primitive == XSSimpleType.PRIMITIVE_NOTATION); } else if (type.getVariety() == XSSimpleType.VARIETY_LIST) { return containsQName((XSSimpleType)type.getItemType()); } else if (type.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList members = type.getMemberTypes(); for (int i = 0; i < members.getLength(); i++) { if (containsQName((XSSimpleType)members.item(i))) return true; } } return false; }
Example 2
Source File: XSDAbstractTraverser.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
private boolean containsQName(XSSimpleType type) { if (type.getVariety() == XSSimpleType.VARIETY_ATOMIC) { short primitive = type.getPrimitiveKind(); return (primitive == XSSimpleType.PRIMITIVE_QNAME || primitive == XSSimpleType.PRIMITIVE_NOTATION); } else if (type.getVariety() == XSSimpleType.VARIETY_LIST) { return containsQName((XSSimpleType)type.getItemType()); } else if (type.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList members = type.getMemberTypes(); for (int i = 0; i < members.getLength(); i++) { if (containsQName((XSSimpleType)members.item(i))) return true; } } return false; }
Example 3
Source File: XSDAbstractTraverser.java From hottub with GNU General Public License v2.0 | 6 votes |
private boolean containsQName(XSSimpleType type) { if (type.getVariety() == XSSimpleType.VARIETY_ATOMIC) { short primitive = type.getPrimitiveKind(); return (primitive == XSSimpleType.PRIMITIVE_QNAME || primitive == XSSimpleType.PRIMITIVE_NOTATION); } else if (type.getVariety() == XSSimpleType.VARIETY_LIST) { return containsQName((XSSimpleType)type.getItemType()); } else if (type.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList members = type.getMemberTypes(); for (int i = 0; i < members.getLength(); i++) { if (containsQName((XSSimpleType)members.item(i))) return true; } } return false; }
Example 4
Source File: XSDAbstractTraverser.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
private boolean containsQName(XSSimpleType type) { if (type.getVariety() == XSSimpleType.VARIETY_ATOMIC) { short primitive = type.getPrimitiveKind(); return (primitive == XSSimpleType.PRIMITIVE_QNAME || primitive == XSSimpleType.PRIMITIVE_NOTATION); } else if (type.getVariety() == XSSimpleType.VARIETY_LIST) { return containsQName((XSSimpleType)type.getItemType()); } else if (type.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList members = type.getMemberTypes(); for (int i = 0; i < members.getLength(); i++) { if (containsQName((XSSimpleType)members.item(i))) return true; } } return false; }
Example 5
Source File: XSDAbstractTraverser.java From Bytecoder with Apache License 2.0 | 6 votes |
private boolean containsQName(XSSimpleType type) { if (type.getVariety() == XSSimpleType.VARIETY_ATOMIC) { short primitive = type.getPrimitiveKind(); return (primitive == XSSimpleType.PRIMITIVE_QNAME || primitive == XSSimpleType.PRIMITIVE_NOTATION); } else if (type.getVariety() == XSSimpleType.VARIETY_LIST) { return containsQName((XSSimpleType)type.getItemType()); } else if (type.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList members = type.getMemberTypes(); for (int i = 0; i < members.getLength(); i++) { if (containsQName((XSSimpleType)members.item(i))) return true; } } return false; }
Example 6
Source File: XSDAbstractTraverser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
private boolean containsQName(XSSimpleType type) { if (type.getVariety() == XSSimpleType.VARIETY_ATOMIC) { short primitive = type.getPrimitiveKind(); return (primitive == XSSimpleType.PRIMITIVE_QNAME || primitive == XSSimpleType.PRIMITIVE_NOTATION); } else if (type.getVariety() == XSSimpleType.VARIETY_LIST) { return containsQName((XSSimpleType)type.getItemType()); } else if (type.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList members = type.getMemberTypes(); for (int i = 0; i < members.getLength(); i++) { if (containsQName((XSSimpleType)members.item(i))) return true; } } return false; }
Example 7
Source File: XSDAbstractTraverser.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
private boolean containsQName(XSSimpleType type) { if (type.getVariety() == XSSimpleType.VARIETY_ATOMIC) { short primitive = type.getPrimitiveKind(); return (primitive == XSSimpleType.PRIMITIVE_QNAME || primitive == XSSimpleType.PRIMITIVE_NOTATION); } else if (type.getVariety() == XSSimpleType.VARIETY_LIST) { return containsQName((XSSimpleType)type.getItemType()); } else if (type.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList members = type.getMemberTypes(); for (int i = 0; i < members.getLength(); i++) { if (containsQName((XSSimpleType)members.item(i))) return true; } } return false; }
Example 8
Source File: XSDAbstractTraverser.java From JDKSourceCode1.8 with MIT License | 6 votes |
private boolean containsQName(XSSimpleType type) { if (type.getVariety() == XSSimpleType.VARIETY_ATOMIC) { short primitive = type.getPrimitiveKind(); return (primitive == XSSimpleType.PRIMITIVE_QNAME || primitive == XSSimpleType.PRIMITIVE_NOTATION); } else if (type.getVariety() == XSSimpleType.VARIETY_LIST) { return containsQName((XSSimpleType)type.getItemType()); } else if (type.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList members = type.getMemberTypes(); for (int i = 0; i < members.getLength(); i++) { if (containsQName((XSSimpleType)members.item(i))) return true; } } return false; }
Example 9
Source File: XSDAbstractTraverser.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
private boolean containsQName(XSSimpleType type) { if (type.getVariety() == XSSimpleType.VARIETY_ATOMIC) { short primitive = type.getPrimitiveKind(); return (primitive == XSSimpleType.PRIMITIVE_QNAME || primitive == XSSimpleType.PRIMITIVE_NOTATION); } else if (type.getVariety() == XSSimpleType.VARIETY_LIST) { return containsQName((XSSimpleType)type.getItemType()); } else if (type.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList members = type.getMemberTypes(); for (int i = 0; i < members.getLength(); i++) { if (containsQName((XSSimpleType)members.item(i))) return true; } } return false; }
Example 10
Source File: XSDAbstractTraverser.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
private boolean containsQName(XSSimpleType type) { if (type.getVariety() == XSSimpleType.VARIETY_ATOMIC) { short primitive = type.getPrimitiveKind(); return (primitive == XSSimpleType.PRIMITIVE_QNAME || primitive == XSSimpleType.PRIMITIVE_NOTATION); } else if (type.getVariety() == XSSimpleType.VARIETY_LIST) { return containsQName((XSSimpleType)type.getItemType()); } else if (type.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList members = type.getMemberTypes(); for (int i = 0; i < members.getLength(); i++) { if (containsQName((XSSimpleType)members.item(i))) return true; } } return false; }
Example 11
Source File: XSDSimpleTypeTraverser.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private boolean isListDatatype(XSSimpleType validator) { if (validator.getVariety() == XSSimpleType.VARIETY_LIST) return true; if (validator.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList temp = validator.getMemberTypes(); for (int i = 0; i < temp.getLength(); i++) { if (((XSSimpleType)temp.item(i)).getVariety() == XSSimpleType.VARIETY_LIST) { return true; } } } return false; }
Example 12
Source File: XSDSimpleTypeTraverser.java From JDKSourceCode1.8 with MIT License | 5 votes |
private boolean isListDatatype(XSSimpleType validator) { if (validator.getVariety() == XSSimpleType.VARIETY_LIST) return true; if (validator.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList temp = validator.getMemberTypes(); for (int i = 0; i < temp.getLength(); i++) { if (((XSSimpleType)temp.item(i)).getVariety() == XSSimpleType.VARIETY_LIST) { return true; } } } return false; }
Example 13
Source File: XSDSimpleTypeTraverser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private boolean isListDatatype(XSSimpleType validator) { if (validator.getVariety() == XSSimpleType.VARIETY_LIST) return true; if (validator.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList temp = validator.getMemberTypes(); for (int i = 0; i < temp.getLength(); i++) { if (((XSSimpleType)temp.item(i)).getVariety() == XSSimpleType.VARIETY_LIST) { return true; } } } return false; }
Example 14
Source File: XSDSimpleTypeTraverser.java From Bytecoder with Apache License 2.0 | 5 votes |
private boolean isListDatatype(XSSimpleType validator) { if (validator.getVariety() == XSSimpleType.VARIETY_LIST) return true; if (validator.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList temp = validator.getMemberTypes(); for (int i = 0; i < temp.getLength(); i++) { if (((XSSimpleType)temp.item(i)).getVariety() == XSSimpleType.VARIETY_LIST) { return true; } } } return false; }
Example 15
Source File: XSDSimpleTypeTraverser.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private boolean isListDatatype(XSSimpleType validator) { if (validator.getVariety() == XSSimpleType.VARIETY_LIST) return true; if (validator.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList temp = validator.getMemberTypes(); for (int i = 0; i < temp.getLength(); i++) { if (((XSSimpleType)temp.item(i)).getVariety() == XSSimpleType.VARIETY_LIST) { return true; } } } return false; }
Example 16
Source File: XSDSimpleTypeTraverser.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private boolean isListDatatype(XSSimpleType validator) { if (validator.getVariety() == XSSimpleType.VARIETY_LIST) return true; if (validator.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList temp = validator.getMemberTypes(); for (int i = 0; i < temp.getLength(); i++) { if (((XSSimpleType)temp.item(i)).getVariety() == XSSimpleType.VARIETY_LIST) { return true; } } } return false; }
Example 17
Source File: XSDSimpleTypeTraverser.java From hottub with GNU General Public License v2.0 | 5 votes |
private boolean isListDatatype(XSSimpleType validator) { if (validator.getVariety() == XSSimpleType.VARIETY_LIST) return true; if (validator.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList temp = validator.getMemberTypes(); for (int i = 0; i < temp.getLength(); i++) { if (((XSSimpleType)temp.item(i)).getVariety() == XSSimpleType.VARIETY_LIST) { return true; } } } return false; }
Example 18
Source File: XSDSimpleTypeTraverser.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private boolean isListDatatype(XSSimpleType validator) { if (validator.getVariety() == XSSimpleType.VARIETY_LIST) return true; if (validator.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList temp = validator.getMemberTypes(); for (int i = 0; i < temp.getLength(); i++) { if (((XSSimpleType)temp.item(i)).getVariety() == XSSimpleType.VARIETY_LIST) { return true; } } } return false; }
Example 19
Source File: XSDSimpleTypeTraverser.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private boolean isListDatatype(XSSimpleType validator) { if (validator.getVariety() == XSSimpleType.VARIETY_LIST) return true; if (validator.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList temp = validator.getMemberTypes(); for (int i = 0; i < temp.getLength(); i++) { if (((XSSimpleType)temp.item(i)).getVariety() == XSSimpleType.VARIETY_LIST) { return true; } } } return false; }
Example 20
Source File: XSDSimpleTypeTraverser.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
private boolean isListDatatype(XSSimpleType validator) { if (validator.getVariety() == XSSimpleType.VARIETY_LIST) return true; if (validator.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList temp = validator.getMemberTypes(); for (int i = 0; i < temp.getLength(); i++) { if (((XSSimpleType)temp.item(i)).getVariety() == XSSimpleType.VARIETY_LIST) { return true; } } } return false; }