< prev index next >
src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/schemagen/XmlSchemaGenerator.java
Print this page
@@ -549,11 +549,11 @@
}
/**
* 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>
+ * 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,11 +1138,12 @@
}
}
/**
* Checks if we can collapse
- * <element name='foo' type='t' /> to <element ref='foo' />.
+ * {@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 >