|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.tools.xjc.api.impl.s2j.ElementAdapter.FieldAccessorImpl
com.sun.tools.xjc.api.impl.s2j.ElementCollectionAdapter.FieldAccessorImpl
final class ElementCollectionAdapter.FieldAccessorImpl
| Field Summary |
|---|
| Fields inherited from class com.sun.tools.xjc.api.impl.s2j.ElementAdapter.FieldAccessorImpl |
|---|
acc |
| Constructor Summary | |
|---|---|
ElementCollectionAdapter.FieldAccessorImpl(com.sun.codemodel.JExpression target)
|
|
| Method Summary | |
|---|---|
void |
fromRawValue(com.sun.codemodel.JBlock block,
java.lang.String uniqueName,
com.sun.codemodel.JExpression $var)
Sets the value of the field from the specified expression. |
void |
toRawValue(com.sun.codemodel.JBlock block,
com.sun.codemodel.JVar $var)
Dumps everything in this field into the given variable. |
| Methods inherited from class com.sun.tools.xjc.api.impl.s2j.ElementAdapter.FieldAccessorImpl |
|---|
createJAXBElement, getPropertyInfo, hasSetValue, owner, unsetValues |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ElementCollectionAdapter.FieldAccessorImpl(com.sun.codemodel.JExpression target)
| Method Detail |
|---|
public void toRawValue(com.sun.codemodel.JBlock block,
com.sun.codemodel.JVar $var)
FieldAccessorThis generates code that accesses the field from outside.
block - The code will be generated into this block.$var - Variable whose type is FieldOutline.getRawType()
public void fromRawValue(com.sun.codemodel.JBlock block,
java.lang.String uniqueName,
com.sun.codemodel.JExpression $var)
FieldAccessorThis generates code that accesses the field from outside.
block - The code will be generated into this block.uniqueName - Identifier that the caller guarantees to be unique in
the given block. When the callee needs to produce additional
variables, it can do so by adding suffixes to this unique
name. For example, if the uniqueName is "abc", then the
caller guarantees that any identifier "abc.*" is unused
in this block.$var - The expression that evaluates to a value of the type
FieldOutline.getRawType().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||