|
||||||||||
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.PropertyImpl
public final class PropertyImpl
Field Summary | |
---|---|
protected com.sun.codemodel.JCodeModel |
codeModel
|
protected javax.xml.namespace.QName |
elementName
|
protected FieldOutline |
fr
|
protected Mapping |
parent
|
Method Summary | |
---|---|
javax.xml.namespace.QName |
elementName()
Name of the XML element that corresponds to the property. |
java.lang.String |
name()
The name of the property. |
javax.xml.namespace.QName |
rawName()
Returns raw schema name for simpleType property. |
com.sun.codemodel.JType |
type()
The Java type of the property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final FieldOutline fr
protected final javax.xml.namespace.QName elementName
protected final Mapping parent
protected final com.sun.codemodel.JCodeModel codeModel
Method Detail |
---|
public final java.lang.String name()
Property
This method returns a valid identifier suitable for the use as a variable name.
name
in interface Property
public final javax.xml.namespace.QName rawName()
rawName
in interface Property
public final javax.xml.namespace.QName elementName()
Property
Each child of a wrapper style element corresponds with an element, and this method returns that name.
elementName
in interface Property
QName
.public final com.sun.codemodel.JType type()
Property
type
in interface Property
JType
is a representation of a Java type in a codeModel.
If you just need the fully-qualified class name, call JType.fullName()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |