Top Description Fields Constructors Methods
com.sun.tools.xjc.reader.xmlschema

pack-priv final Class GElementImpl

extends GElement
Class Inheritance
Imports
javax.xml.namespace.QName, com.sun.tools.xjc.reader.gbind.Element, com.sun.xml.xsom.XSElementDecl

Element that wraps XSElementDecl.
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
public final XSElementDecl
decl

The representative XSElementDecl.

public final QName
Inherited from com.sun.tools.xjc.reader.xmlschema.GElement:
particles

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv String
getPropertyNameSeed()

Implements abstract com.sun.tools.xjc.reader.xmlschema.GElement.getPropertyNameSeed.

Gets the seed (raw XML name) to be used to generate a property name.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Field Detail

declback to summary
public final XSElementDecl decl

The representative XSElementDecl. Even though multiple XSElementDecls maybe represented by a single GElementImpl (especially when they are local), the schema spec requires that they share the same type and other characteristic. (To be really precise, you may have different default values, nillability, all that, so if that becomes a real issue we have to reconsider this design.)

tagNameback to summary
public final QName tagName

Constructor Detail

GElementImplback to summary
public GElementImpl(QName tagName, XSElementDecl decl)

Method Detail

getPropertyNameSeedback to summary
pack-priv String getPropertyNameSeed()

Implements abstract com.sun.tools.xjc.reader.xmlschema.GElement.getPropertyNameSeed.

Doc from com.sun.tools.xjc.reader.xmlschema.GElement.getPropertyNameSeed.

Gets the seed (raw XML name) to be used to generate a property name.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override