Class SerialFieldTagImpl
- java.lang.Object
-
- gw.gosudoc.com.sun.tools.javadoc.main.TagImpl
-
- gw.gosudoc.com.sun.tools.javadoc.main.SerialFieldTagImpl
-
- All Implemented Interfaces:
SerialFieldTag,Tag,java.lang.Comparable<java.lang.Object>
@Deprecated class SerialFieldTagImpl extends TagImpl implements SerialFieldTag, java.lang.Comparable<java.lang.Object>
Deprecated.Documents a Serializable field defined by an ObjectStreamField.The class parses and stores the three serialField tag parameters: - field name - field type name (fully-qualified or visible from the current import context) - description of the valid values for the fieldThis tag is only allowed in the javadoc for the special member serialPersistentFields.This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
- See Also:
ObjectStreamField
-
-
Field Summary
Fields Modifier and Type Field Description private ClassDoccontainingClassDeprecated.private java.lang.StringdescriptionDeprecated.private java.lang.StringfieldNameDeprecated.private java.lang.StringfieldTypeDeprecated.private ClassDocfieldTypeDocDeprecated.private FieldDocImplmatchingFieldDeprecated.
-
Constructor Summary
Constructors Constructor Description SerialFieldTagImpl(DocImpl holder, java.lang.String name, java.lang.String text)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intcompareTo(java.lang.Object obj)Deprecated.Compares this Object with the specified Object for order.java.lang.Stringdescription()Deprecated.Return the field comment.java.lang.StringfieldName()Deprecated.Return the serialziable field name.java.lang.StringfieldType()Deprecated.Return the field type string.ClassDocfieldTypeDoc()Deprecated.Return the ClassDocImpl for field type.(package private) FieldDocImplgetMatchingField()Deprecated.Return the corresponding FieldDocImpl for this SerialFieldTagImpl.(package private) java.lang.Stringkey()Deprecated.return a key for sorting.java.lang.Stringkind()Deprecated.Return the kind of this tag.(package private) voidmapToFieldDocImpl(FieldDocImpl fd)Deprecated.private voidparseSerialFieldString()Deprecated.java.lang.StringtoString()Deprecated.Convert this object to a string.-
Methods inherited from class gw.gosudoc.com.sun.tools.javadoc.main.TagImpl
divideAtWhite, docenv, firstSentenceTags, holder, inlineTags, name, position, text
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gw.gosudoc.com.sun.javadoc.Tag
firstSentenceTags, holder, inlineTags, name, position, text
-
-
-
-
Field Detail
-
fieldName
private java.lang.String fieldName
Deprecated.
-
fieldType
private java.lang.String fieldType
Deprecated.
-
description
private java.lang.String description
Deprecated.
-
containingClass
private ClassDoc containingClass
Deprecated.
-
fieldTypeDoc
private ClassDoc fieldTypeDoc
Deprecated.
-
matchingField
private FieldDocImpl matchingField
Deprecated.
-
-
Constructor Detail
-
SerialFieldTagImpl
SerialFieldTagImpl(DocImpl holder, java.lang.String name, java.lang.String text)
Deprecated.
-
-
Method Detail
-
parseSerialFieldString
private void parseSerialFieldString()
Deprecated.
-
key
java.lang.String key()
Deprecated.return a key for sorting.
-
mapToFieldDocImpl
void mapToFieldDocImpl(FieldDocImpl fd)
Deprecated.
-
fieldName
public java.lang.String fieldName()
Deprecated.Return the serialziable field name.- Specified by:
fieldNamein interfaceSerialFieldTag- Returns:
- the serializable field name.
-
fieldType
public java.lang.String fieldType()
Deprecated.Return the field type string.- Specified by:
fieldTypein interfaceSerialFieldTag- Returns:
- the field type string.
-
fieldTypeDoc
public ClassDoc fieldTypeDoc()
Deprecated.Return the ClassDocImpl for field type.- Specified by:
fieldTypeDocin interfaceSerialFieldTag- Returns:
- null if no ClassDoc for field type is visible from containingClass context.
-
getMatchingField
FieldDocImpl getMatchingField()
Deprecated.Return the corresponding FieldDocImpl for this SerialFieldTagImpl.
-
description
public java.lang.String description()
Deprecated.Return the field comment. If there is no serialField comment, return javadoc comment of corresponding FieldDocImpl.- Specified by:
descriptionin interfaceSerialFieldTag- Returns:
- the field comment. If there is no serialField comment, return javadoc comment of corresponding FieldDoc.
-
kind
public java.lang.String kind()
Deprecated.Return the kind of this tag.
-
toString
public java.lang.String toString()
Deprecated.Convert this object to a string.
-
compareTo
public int compareTo(java.lang.Object obj)
Deprecated.Compares this Object with the specified Object for order. Returns a negative integer, zero, or a positive integer as this Object is less than, equal to, or greater than the given Object.Included to make SerialFieldTagImpl items java.lang.Comparable.
- Specified by:
compareToin interfacejava.lang.Comparable<java.lang.Object>- Specified by:
compareToin interfaceSerialFieldTag- Parameters:
obj- theObjectto be compared.- Returns:
- a negative integer, zero, or a positive integer as this Object is less than, equal to, or greater than the given Object.
- Throws:
java.lang.ClassCastException- the specified Object's type prevents it from being compared to this Object.- Since:
- 1.2
-
-