< prev index next >
src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/schemagen/XmlSchemaGenerator.java
Print this page
*** 549,559 ****
}
/**
* 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) {
--- 549,559 ----
}
/**
* 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) {
*** 1138,1148 ****
}
}
/**
* Checks if we can collapse
! * <element name='foo' type='t' /> to <element ref='foo' />.
*
* This is possible if we already have such declaration to begin with.
*/
private boolean canBeDirectElementRef(TypeRef<T, C> t, QName tn, TypeInfo parentInfo) {
Element te = null;
--- 1138,1149 ----
}
}
/**
* Checks if we can collapse
! * {@code <element name='foo' type='t' />}
! * to {@code <element ref='foo' />}.
*
* This is possible if we already have such declaration to begin with.
*/
private boolean canBeDirectElementRef(TypeRef<T, C> t, QName tn, TypeInfo parentInfo) {
Element te = null;
< prev index next >