com.sun.tools.xjc.reader.xmlschema
Class GElementImpl
java.lang.Object
com.sun.tools.xjc.reader.gbind.Expression
com.sun.tools.xjc.reader.gbind.Element
com.sun.tools.xjc.reader.xmlschema.GElement
com.sun.tools.xjc.reader.xmlschema.GElementImpl
- All Implemented Interfaces:
- ElementSet, java.lang.Iterable<Element>
final class GElementImpl
- extends GElement
Element that wraps XSElementDecl.
|
Field Summary |
com.sun.xml.xsom.XSElementDecl |
decl
The representative XSElementDecl. |
javax.xml.namespace.QName |
tagName
|
|
Constructor Summary |
GElementImpl(javax.xml.namespace.QName tagName,
com.sun.xml.xsom.XSElementDecl decl)
|
|
Method Summary |
(package private) java.lang.String |
getPropertyNameSeed()
Gets the seed (raw XML name) to be used to generate a property name. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
tagName
public final javax.xml.namespace.QName tagName
decl
public final com.sun.xml.xsom.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.)
GElementImpl
public GElementImpl(javax.xml.namespace.QName tagName,
com.sun.xml.xsom.XSElementDecl decl)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getPropertyNameSeed
java.lang.String getPropertyNameSeed()
- Description copied from class:
GElement
- Gets the seed (raw XML name) to be used to generate a property name.
- Specified by:
getPropertyNameSeed in class GElement