Package com.sun.tools.corba.ee.idl
Class StringEntry
java.lang.Object
com.sun.tools.corba.ee.idl.SymtabEntry
com.sun.tools.corba.ee.idl.StringEntry
-
Field Summary
FieldsFields inherited from class com.sun.tools.corba.ee.idl.SymtabEntry
includeStack, maxKey, setEmit
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
StringEntry
(StringEntry that) protected
StringEntry
(SymtabEntry that, IDLID clone) -
Method Summary
Modifier and TypeMethodDescriptionclone()
This is a shallow copy clonevoid
generate
(Hashtable symbolTable, PrintWriter stream) Invoke the string type generator.Access the primitive type generator.maxSize()
The constant expression defining the maximum size of the string.void
maxSize
(Expression expr) The constant expression defining the maximum size of the string.Methods inherited from class com.sun.tools.corba.ee.idl.SymtabEntry
comment, comment, container, container, dynamicVariable, dynamicVariable, emit, emit, enteringInclude, exitingInclude, fullName, getVariableKey, growVars, initDynamicVars, isReferencable, isReferencable, module, module, name, name, repositoryID, repositoryID, sourceFile, sourceFile, type, type, typeName, typeName
-
Field Details
-
stringGen
-
_maxSize
-
-
Constructor Details
-
StringEntry
protected StringEntry() -
StringEntry
-
StringEntry
-
-
Method Details
-
clone
Description copied from class:SymtabEntry
This is a shallow copy clone- Overrides:
clone
in classSymtabEntry
-
generate
Invoke the string type generator.- Overrides:
generate
in classSymtabEntry
- Parameters:
symbolTable
- the symbol table is a hash table whose key is a fully qualified type name and whose value is a SymtabEntry or a subclass of SymtabEntry.stream
- the stream to which the generator should sent its output.- See Also:
-
generator
Access the primitive type generator.- Overrides:
generator
in classSymtabEntry
- Returns:
- an object which implements the PrimitiveGen interface.
- See Also:
-
maxSize
The constant expression defining the maximum size of the string. If it is null, then the string is unbounded.- Parameters:
expr
- the maximum size of the string to set
-
maxSize
The constant expression defining the maximum size of the string. If it is null, then the string is unbounded.- Returns:
- the maximum size of the String
-