< prev index next >
src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/XSType.java
Print this page
@@ -33,11 +33,11 @@
*/
public interface XSType extends XSDeclaration {
/**
* Returns the base type of this type.
*
- * Note that if this type represents <tt>xs:anyType</tt>, this method returns itself.
+ * Note that if this type represents {@code xs:anyType}, this method returns itself.
* This is awkward as an API, but it follows the schema specification.
*
* @return always non-null.
*/
XSType getBaseType();
@@ -46,13 +46,13 @@
final static int RESTRICTION = 2;
final static int SUBSTITUTION = 4;
int getDerivationMethod();
- /** Returns true if <code>this instanceof XSSimpleType</code>. */
+ /** Returns true if {@code this instanceof XSSimpleType}. */
boolean isSimpleType();
- /** Returns true if <code>this instanceof XSComplexType</code>. */
+ /** Returns true if {@code this instanceof XSComplexType}. */
boolean isComplexType();
/**
* Lists up types that can substitute this type by using xsi:type.
* Includes this type itself.
@@ -88,9 +88,9 @@
/**
* Returns true if this type is derived from the specified type.
*
* <p>
- * Note that <tt>t.isDerivedFrom(t)</tt> returns true.
+ * Note that {@code t.isDerivedFrom(t)} returns true.
*/
boolean isDerivedFrom( XSType t );
}
< prev index next >