|
JACK 5.4 JACOB Application Interface | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaos.apib.StreamerSupport
The StreamerSupport class is a base class for all JACOB streamer support classes that are generated by the JACOB builder. This class keeps a number of public members that constitute the runtime definition of the JACOB class concerned, and includes a few utility methods that are useful for "JACOB reflection". The JACOB streamer support object for a JACOB class is obtained through the getStreamer() method of that class.
Field Summary | |
StreamerSupport[][] |
__allowed
The allowed element types of all fields of the supported JACOB class. |
java.lang.String |
__comment
The class comment of the supported JACOB class. |
java.lang.String[] |
__display_names
The display names of all fields of the supported JACOB class. |
aos.apib.EnumInfo[] |
__enuminfos
The enum information of all fields of the supported JACOB class. |
java.lang.String[] |
__field_comments
The comments of all fields of the supported JACOB class. |
boolean[] |
__field_hidden
The hidden-flag of all fields of the supported JACOB class. |
boolean[] |
__field_inherited
The inherited-flag of all fields of the supported JACOB class. |
java.lang.String[] |
__field_names
The names of all fields of the supported JACOB class. |
boolean[] |
__field_static
The static-flag of all fields of the supported JACOB class. |
java.lang.String[] |
__field_subtypes
The sub types of all fields of the supported JACOB class. |
boolean[] |
__field_transient
The transient-flag of all fields of the supported JACOB class. |
int[] |
__field_types
The types of all fields of the supported JACOB class. |
java.lang.String |
__icon
The icon to show for this type. |
java.lang.String |
__type
The name of the supported JACOB class. |
int |
longest_field
Keeps the size of the longest field name. |
Constructor Summary | |
StreamerSupport()
|
Method Summary | |
void |
addMapping(java.lang.String in,
java.lang.String out)
|
aos.apib.ApibTraverser |
breadthFirstTraverser(Base b)
|
static void |
delayInitialization()
|
aos.apib.ApibTraverser |
depthFirstTraverser(Base b)
|
aos.apib.ApibTraverser |
depthFirstTraverser(Base b,
boolean visitFirst,
aos.apib.TraversalController tr)
|
boolean |
derivedFrom(StreamerSupport s)
|
static StreamerSupport[] |
findBaseStreamer(java.lang.Class cl)
|
Base |
getBaseClass(Base b,
int i)
|
StreamerSupport |
getBaseClassStreamer()
|
Base |
getDefaultInstance()
|
java.lang.Object |
getField(Base o,
int field_number)
|
java.lang.Class |
getStreamedType()
|
static StreamerSupport |
getStreamer(java.lang.String s)
|
java.lang.String |
getType()
|
static void |
initApib()
|
static void |
initJacob()
|
boolean |
isDefault(Base o)
This method determines if the instance passed is the same as the default value. |
boolean |
isFieldAtomic(int field_number)
|
Base[] |
new_array(int n)
|
Base |
new_instance()
|
int |
nFields()
Returns the number of fields of the supported JACOB class. |
boolean |
read(InStream in,
Base o)
Method to read in the object. |
boolean |
readField(InStream in,
Base o,
int field_number)
|
static void |
retarget(java.lang.String[][] tlist)
|
static void |
retarget(java.lang.String name,
java.lang.String target)
|
void |
setStreamedType(java.lang.Class t)
|
java.lang.String |
toString()
|
void |
traverseBreadthFirst(Base b)
|
void |
traverseBreadthFirst(Base b,
boolean visitFirst,
aos.apib.TraversalController tr)
|
void |
traverseDepthFirst(Base b)
|
void |
traverseDepthFirst(Base b,
boolean visitFirst,
aos.apib.TraversalController tr)
|
boolean |
write(OutStream out,
Base o)
Method to write out the object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.String __type
public java.lang.String __icon
public java.lang.String __comment
public java.lang.String[] __field_names
public java.lang.String[] __display_names
public int[] __field_types
public java.lang.String[] __field_subtypes
public aos.apib.EnumInfo[] __enuminfos
public boolean[] __field_hidden
public boolean[] __field_static
public boolean[] __field_inherited
public boolean[] __field_transient
public int longest_field
public java.lang.String[] __field_comments
public StreamerSupport[][] __allowed
Constructor Detail |
public StreamerSupport()
Method Detail |
public void addMapping(java.lang.String in, java.lang.String out)
public static void delayInitialization()
public static void initApib()
public static void initJacob()
public Base getDefaultInstance()
public static StreamerSupport getStreamer(java.lang.String s)
public static void retarget(java.lang.String name, java.lang.String target)
public static void retarget(java.lang.String[][] tlist)
public java.lang.String getType()
public Base getBaseClass(Base b, int i)
public static StreamerSupport[] findBaseStreamer(java.lang.Class cl)
public boolean isDefault(Base o)
public Base new_instance()
public Base[] new_array(int n)
public boolean read(InStream in, Base o)
public boolean readField(InStream in, Base o, int field_number)
public boolean write(OutStream out, Base o)
public StreamerSupport getBaseClassStreamer()
public boolean derivedFrom(StreamerSupport s)
public java.lang.Class getStreamedType()
public void setStreamedType(java.lang.Class t)
public java.lang.String toString()
public boolean isFieldAtomic(int field_number)
public java.lang.Object getField(Base o, int field_number)
public int nFields()
public aos.apib.ApibTraverser depthFirstTraverser(Base b)
public aos.apib.ApibTraverser depthFirstTraverser(Base b, boolean visitFirst, aos.apib.TraversalController tr)
public aos.apib.ApibTraverser breadthFirstTraverser(Base b)
public void traverseDepthFirst(Base b)
public void traverseDepthFirst(Base b, boolean visitFirst, aos.apib.TraversalController tr)
public void traverseBreadthFirst(Base b)
public void traverseBreadthFirst(Base b, boolean visitFirst, aos.apib.TraversalController tr)
|
JACK 5.4 JACOB Application Interface | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
US Government Restricted Rights
The JACK Modules and relevant Software Material have been developed entirely at private expense and are accordingly provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software Restricted Rights and 48 CFR 52.2270-19, as applicable.