Top Fields Constructors Methods
com.sun.tools.xjc.api.impl.s2j

public final Class PropertyImpl

extends Object
implements Property
Class Inheritance
All Implemented Interfaces
com.sun.tools.xjc.api.Property
Imports
javax.xml.namespace.QName, com.sun.codemodel.JCodeModel, .JType, com.sun.tools.xjc.api.Mapping, .Property, com.sun.tools.xjc.model.CElementInfo, com.sun.tools.xjc.outline.FieldOutline

Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
protected final JCodeModel
protected final QName
protected final FieldOutline
protected final Mapping

Constructor Summary

AccessConstructor and Description
pack-priv
PropertyImpl(Mapping parent, FieldOutline fr, QName elementName)

Method Summary

Modifier and TypeMethod and Description
public QName
elementName()

Implements com.sun.tools.xjc.api.Property.elementName.

Name of the XML element that corresponds to the property.

public String
name()

Implements com.sun.tools.xjc.api.Property.name.

The name of the property.

public QName
rawName()

Implements com.sun.tools.xjc.api.Property.rawName.

Returns raw schema name for simpleType property.

public JType
type()

Implements com.sun.tools.xjc.api.Property.type.

The Java type of the property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

codeModelback to summary
protected final JCodeModel codeModel
elementNameback to summary
protected final QName elementName
frback to summary
protected final FieldOutline fr
parentback to summary
protected final Mapping parent

Constructor Detail

PropertyImplback to summary
pack-priv PropertyImpl(Mapping parent, FieldOutline fr, QName elementName)

Method Detail

elementNameback to summary
public QName elementName()

Implements com.sun.tools.xjc.api.Property.elementName.

Doc from com.sun.tools.xjc.api.Property.elementName.

Name of the XML element that corresponds to the property.

Each child of a wrapper style element corresponds with an element, and this method returns that name.

Annotations
@Override
nameback to summary
public String name()

Implements com.sun.tools.xjc.api.Property.name.

Doc from com.sun.tools.xjc.api.Property.name.

The name of the property.

This method returns a valid identifier suitable for the use as a variable name.

Annotations
@Override
rawNameback to summary
public QName rawName()

Implements com.sun.tools.xjc.api.Property.rawName.

Returns raw schema name for simpleType property. May return null for other types.

Annotations
@Override
typeback to summary
public JType type()

Implements com.sun.tools.xjc.api.Property.type.

Doc from com.sun.tools.xjc.api.Property.type.

The Java type of the property.

Annotations
@Override