com.sun.xml.internal.bind.v2.schemagen.xmlschema.List Java Examples
The following examples show how to use
com.sun.xml.internal.bind.v2.schemagen.xmlschema.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: XmlSchemaGenerator.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
/** * Process the given PropertyInfo looking for references to namespaces that * are foreign to the given namespace. Any foreign namespace references * found are added to the given namespaces dependency list and an <import> * is generated for it. * * @param p the PropertyInfo */ private void processForeignNamespaces(PropertyInfo<T, C> p, int processingDepth) { for (TypeInfo<T, C> t : p.ref()) { if ((t instanceof ClassInfo) && (processingDepth > 0)) { java.util.List<PropertyInfo> l = ((ClassInfo) t).getProperties(); for (PropertyInfo subp : l) { processForeignNamespaces(subp, --processingDepth); } } if (t instanceof Element) { addDependencyTo(((Element) t).getElementName()); } if (t instanceof NonElement) { addDependencyTo(((NonElement) t).getTypeName()); } } }
Example #2
Source File: XmlSchemaGenerator.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
/** * Process the given PropertyInfo looking for references to namespaces that * are foreign to the given namespace. Any foreign namespace references * found are added to the given namespaces dependency list and an <import> * is generated for it. * * @param p the PropertyInfo */ private void processForeignNamespaces(PropertyInfo<T, C> p, int processingDepth) { for (TypeInfo<T, C> t : p.ref()) { if ((t instanceof ClassInfo) && (processingDepth > 0)) { java.util.List<PropertyInfo> l = ((ClassInfo) t).getProperties(); for (PropertyInfo subp : l) { processForeignNamespaces(subp, --processingDepth); } } if (t instanceof Element) { addDependencyTo(((Element) t).getElementName()); } if (t instanceof NonElement) { addDependencyTo(((NonElement) t).getTypeName()); } } }
Example #3
Source File: XmlSchemaGenerator.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
/** * Process the given PropertyInfo looking for references to namespaces that * are foreign to the given namespace. Any foreign namespace references * found are added to the given namespaces dependency list and an <import> * is generated for it. * * @param p the PropertyInfo */ private void processForeignNamespaces(PropertyInfo<T, C> p, int processingDepth) { for (TypeInfo<T, C> t : p.ref()) { if ((t instanceof ClassInfo) && (processingDepth > 0)) { java.util.List<PropertyInfo> l = ((ClassInfo) t).getProperties(); for (PropertyInfo subp : l) { processForeignNamespaces(subp, --processingDepth); } } if (t instanceof Element) { addDependencyTo(((Element) t).getElementName()); } if (t instanceof NonElement) { addDependencyTo(((NonElement) t).getTypeName()); } } }
Example #4
Source File: XmlSchemaGenerator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
/** * Process the given PropertyInfo looking for references to namespaces that * are foreign to the given namespace. Any foreign namespace references * found are added to the given namespaces dependency list and an <import> * is generated for it. * * @param p the PropertyInfo */ private void processForeignNamespaces(PropertyInfo<T, C> p, int processingDepth) { for (TypeInfo<T, C> t : p.ref()) { if ((t instanceof ClassInfo) && (processingDepth > 0)) { java.util.List<PropertyInfo> l = ((ClassInfo) t).getProperties(); for (PropertyInfo subp : l) { processForeignNamespaces(subp, --processingDepth); } } if (t instanceof Element) { addDependencyTo(((Element) t).getElementName()); } if (t instanceof NonElement) { addDependencyTo(((NonElement) t).getTypeName()); } } }
Example #5
Source File: XmlSchemaGenerator.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
/** * Process the given PropertyInfo looking for references to namespaces that * are foreign to the given namespace. Any foreign namespace references * found are added to the given namespaces dependency list and an {@code <import>} * is generated for it. * * @param p the PropertyInfo */ private void processForeignNamespaces(PropertyInfo<T, C> p, int processingDepth) { for (TypeInfo<T, C> t : p.ref()) { if ((t instanceof ClassInfo) && (processingDepth > 0)) { java.util.List<PropertyInfo> l = ((ClassInfo) t).getProperties(); for (PropertyInfo subp : l) { processForeignNamespaces(subp, --processingDepth); } } if (t instanceof Element) { addDependencyTo(((Element) t).getElementName()); } if (t instanceof NonElement) { addDependencyTo(((NonElement) t).getTypeName()); } } }
Example #6
Source File: XmlSchemaGenerator.java From hottub with GNU General Public License v2.0 | 6 votes |
/** * Process the given PropertyInfo looking for references to namespaces that * are foreign to the given namespace. Any foreign namespace references * found are added to the given namespaces dependency list and an <import> * is generated for it. * * @param p the PropertyInfo */ private void processForeignNamespaces(PropertyInfo<T, C> p, int processingDepth) { for (TypeInfo<T, C> t : p.ref()) { if ((t instanceof ClassInfo) && (processingDepth > 0)) { java.util.List<PropertyInfo> l = ((ClassInfo) t).getProperties(); for (PropertyInfo subp : l) { processForeignNamespaces(subp, --processingDepth); } } if (t instanceof Element) { addDependencyTo(((Element) t).getElementName()); } if (t instanceof NonElement) { addDependencyTo(((NonElement) t).getTypeName()); } } }
Example #7
Source File: XmlSchemaGenerator.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
/** * Process the given PropertyInfo looking for references to namespaces that * are foreign to the given namespace. Any foreign namespace references * found are added to the given namespaces dependency list and an <import> * is generated for it. * * @param p the PropertyInfo */ private void processForeignNamespaces(PropertyInfo<T, C> p, int processingDepth) { for (TypeInfo<T, C> t : p.ref()) { if ((t instanceof ClassInfo) && (processingDepth > 0)) { java.util.List<PropertyInfo> l = ((ClassInfo) t).getProperties(); for (PropertyInfo subp : l) { processForeignNamespaces(subp, --processingDepth); } } if (t instanceof Element) { addDependencyTo(((Element) t).getElementName()); } if (t instanceof NonElement) { addDependencyTo(((NonElement) t).getTypeName()); } } }
Example #8
Source File: XmlSchemaGenerator.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
/** * Process the given PropertyInfo looking for references to namespaces that * are foreign to the given namespace. Any foreign namespace references * found are added to the given namespaces dependency list and an <import> * is generated for it. * * @param p the PropertyInfo */ private void processForeignNamespaces(PropertyInfo<T, C> p, int processingDepth) { for (TypeInfo<T, C> t : p.ref()) { if ((t instanceof ClassInfo) && (processingDepth > 0)) { java.util.List<PropertyInfo> l = ((ClassInfo) t).getProperties(); for (PropertyInfo subp : l) { processForeignNamespaces(subp, --processingDepth); } } if (t instanceof Element) { addDependencyTo(((Element) t).getElementName()); } if (t instanceof NonElement) { addDependencyTo(((NonElement) t).getTypeName()); } } }