|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jnetpcap.packet.structure.AnnotatedField
public class AnnotatedField
The Class AnnotatedField.
| Constructor Summary | |
|---|---|
AnnotatedField(java.lang.String name,
Field enumAnnotation,
java.util.Map<Field.Property,AnnotatedFieldMethod> methods,
java.lang.Class<?> declaringClass)
Instantiates a new annotated field. |
|
| Method Summary | |
|---|---|
void |
addSubField(AnnotatedField field)
Adds the sub field. |
void |
finishProcessing(java.util.List<HeaderDefinitionError> errors)
Finish processing. |
java.lang.Class<?> |
getDeclaringClass()
Gets the declaring class. |
java.lang.String |
getDescription()
Gets the description. |
java.lang.String |
getDisplay()
Gets the display. |
java.lang.String |
getFormat()
Gets the format. |
int |
getLength()
Gets the length. |
long |
getMask()
Gets the mask. |
java.lang.reflect.Method |
getMethod()
Gets the method. |
java.lang.String |
getName()
Gets the name. |
java.lang.String |
getNicname()
Gets the nicname. |
int |
getOffset()
Gets the offset. |
java.lang.String |
getParent()
Gets the parent. |
JFormatter.Priority |
getPriority()
Gets the priority. |
AnnotatedFieldRuntime |
getRuntime()
Gets the runtime. |
JFormatter.Style |
getStyle()
Gets the style. |
java.util.List<AnnotatedField> |
getSubFields()
Gets the sub fields. |
java.lang.String |
getUnits()
Gets the units. |
static AnnotatedField |
inspectEnumConstant(java.lang.String field,
Field enumAnnotation,
java.util.Map<Field.Property,AnnotatedFieldMethod> methods,
java.lang.Class<?> c)
Inspect enum constant. |
static AnnotatedField |
inspectMethod(java.lang.Class<? extends JHeader> c,
java.lang.reflect.Method m)
Inspect method. |
boolean |
isSubField()
Checks if is sub field. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotatedField(java.lang.String name,
Field enumAnnotation,
java.util.Map<Field.Property,AnnotatedFieldMethod> methods,
java.lang.Class<?> declaringClass)
name - the nameenumAnnotation - the enum annotationmethods - the methodsdeclaringClass - the declaring class| Method Detail |
|---|
public static AnnotatedField inspectEnumConstant(java.lang.String field,
Field enumAnnotation,
java.util.Map<Field.Property,AnnotatedFieldMethod> methods,
java.lang.Class<?> c)
field - the fieldenumAnnotation - the enum annotationmethods - the methodsc - the c
public static AnnotatedField inspectMethod(java.lang.Class<? extends JHeader> c,
java.lang.reflect.Method m)
c - the cm - the m
public void addSubField(AnnotatedField field)
field - the fieldpublic void finishProcessing(java.util.List<HeaderDefinitionError> errors)
errors - the errorspublic java.lang.Class<?> getDeclaringClass()
public java.lang.String getDescription()
public final java.lang.String getDisplay()
public final java.lang.String getFormat()
public int getLength()
public long getMask()
public java.lang.reflect.Method getMethod()
public final java.lang.String getName()
public final java.lang.String getNicname()
public int getOffset()
public java.lang.String getParent()
public JFormatter.Priority getPriority()
public final AnnotatedFieldRuntime getRuntime()
public JFormatter.Style getStyle()
public java.util.List<AnnotatedField> getSubFields()
public java.lang.String getUnits()
public boolean isSubField()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||