Package ghidra.app.util.html
Class TypeDefDataTypeHTMLRepresentation
- java.lang.Object
-
- ghidra.app.util.html.HTMLDataTypeRepresentation
-
- ghidra.app.util.html.TypeDefDataTypeHTMLRepresentation
-
public class TypeDefDataTypeHTMLRepresentation extends HTMLDataTypeRepresentation
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ValidatableLine>
bodyContent
protected java.util.List<ValidatableLine>
headerContent
-
Fields inherited from class ghidra.app.util.html.HTMLDataTypeRepresentation
BR, CHARACTER_SPACE, DIFF_COLOR, ELLIPSES, EMPTY_TAG, END_COMMENT, FORWARD_SLASH, HTML_CLOSE, HTML_OPEN, HTML_SPACE, INDENT_CLOSE, INDENT_OPEN, LENGTH_PREFIX, MAX_CHARACTER_LENGTH, MAX_COMPONENTS, MAX_LINE_LENGTH, MIDDLE_COMMENT, originalHTMLData, START_COMMENT, TAB, TABLE_CLOSE, TABLE_OPEN, TD_CLOSE, TD_OPEN, TR_CLOSE, TR_OPEN, TT_CLOSE, TT_OPEN
-
-
Constructor Summary
Constructors Constructor Description TypeDefDataTypeHTMLRepresentation(TypeDef typeDef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TextLine
buildFooterText(DataType dataType)
protected java.util.List<ValidatableLine>
buildHeaderText(DataType dataType)
protected java.util.List<java.lang.String>
buildWarnings()
HTMLDataTypeRepresentation[]
diff(HTMLDataTypeRepresentation otherRepresentation)
Compares this representation and the given representation creates a diff string for both representations.protected DataType
getBaseDataType()
-
Methods inherited from class ghidra.app.util.html.HTMLDataTypeRepresentation
addDataTypeLength, addDataTypeLength, completelyDifferentDiff, copyLines, createCommentLines, createPlaceHolderLine, diffTextLine, getCommentForDataType, getDiffInput, getDiffInput, getHTMLContentString, getHTMLString, getLocatableDataType, truncateAsNecessary, truncateAsNecessary, wrapStringInColor
-
-
-
-
Field Detail
-
headerContent
protected java.util.List<ValidatableLine> headerContent
-
bodyContent
protected java.util.List<ValidatableLine> bodyContent
-
-
Constructor Detail
-
TypeDefDataTypeHTMLRepresentation
public TypeDefDataTypeHTMLRepresentation(TypeDef typeDef)
-
-
Method Detail
-
getBaseDataType
protected DataType getBaseDataType()
-
buildWarnings
protected java.util.List<java.lang.String> buildWarnings()
-
buildFooterText
protected TextLine buildFooterText(DataType dataType)
- Overrides:
buildFooterText
in classHTMLDataTypeRepresentation
-
buildHeaderText
protected java.util.List<ValidatableLine> buildHeaderText(DataType dataType)
- Overrides:
buildHeaderText
in classHTMLDataTypeRepresentation
-
diff
public HTMLDataTypeRepresentation[] diff(HTMLDataTypeRepresentation otherRepresentation)
Description copied from class:HTMLDataTypeRepresentation
Compares this representation and the given representation creates a diff string for both representations.- Specified by:
diff
in classHTMLDataTypeRepresentation
- Parameters:
otherRepresentation
- the other representation to diff against.- Returns:
- An array of two strings: the first is this object's diff value, the second is the given objects diff value.
-
-