com.sun.tools.xjc.reader.xmlschema

Class GElementImpl

final class GElementImpl extends GElement

Element that wraps XSElementDecl.
Field Summary
XSElementDecldecl
The representative XSElementDecl.
QNametagName
Constructor Summary
GElementImpl(QName tagName, XSElementDecl decl)
Method Summary
StringgetPropertyNameSeed()
StringtoString()

Field Detail

decl

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.)

tagName

public final QName tagName

Constructor Detail

GElementImpl

public GElementImpl(QName tagName, XSElementDecl decl)

Method Detail

getPropertyNameSeed

String getPropertyNameSeed()

toString

public String toString()