users@jaxb.java.net
Re: need a syntax to perform custom binding for anonimus complexType
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Wolfgang Laun <
wolfgang.laun_at_gmail.com
>
Date
: Tue, 21 Feb 2012 15:05:58 +0100
I do not understand your request. In what way would setting the namespace for
the target namespace of this XML Schema type help you? What do you
want to achieve?
-W
On 21/02/2012, shtek <shtek_at_yahoo.com> wrote:
>
> I need a syntax to perform custom binding for complexType which is anonimus
> <complexType>...</ComplexType>
> by default it creates a class whic looks like that:
> /**
> * <p>Java class for anonymous complex type.
> *
> * <p>The following schema fragment specifies the expected content
> contained within this class.
> *
> * <pre>
> * <complexType>
> * <complexContent>
> * <restriction base="{
http://www.w3.org/2001/XMLSchema}anyType
">
> * <sequence>
> * <element name="correlatedNotification"
> type="{
http://www.3gpp.org/ftp/specs/archive/32_series/32.665#kernelNtf}correlatedNotification
"
> minOccurs="0"/>
> * <element name="additionalText"
> type="{
http://www.w3.org/2001/XMLSchema}string
" minOccurs="0"/>
> * <element name="sourceIndicator"
> type="{
http://www.3gpp.org/ftp/specs/archive/32_series/32.665#kernelNtf}SourceIndicatorType
"
> minOccurs="0"/>
> * <element name="attributeList"
> type="{
http://www.3gpp.org/ftp/specs/archive/32_series/32.665#kernelNtf}AnyNrm
"
> minOccurs="0"/>
> * </sequence>
> * </restriction>
> * </complexContent>
> * </complexType>
> * </pre>
> *
> *
> */
> @XmlAccessorType(XmlAccessType.FIELD)
> @XmlType(name = "", propOrder = {
> "correlatedNotification",
> "additionalText",
> "sourceIndicator",
> "attributeList"
> })
> public static class Body {
>
> @XmlElement(namespace =
> "
http://www.3gpp.org/ftp/specs/archive/32_series/32.665#kernelNtf
")
> protected CorrelatedNotification correlatedNotification;
> @XmlElement(namespace =
> "
http://www.3gpp.org/ftp/specs/archive/32_series/32.665#kernelNtf
")
> protected String additionalText;
> @XmlElement(namespace =
> "
http://www.3gpp.org/ftp/specs/archive/32_series/32.665#kernelNtf
")
> protected SourceIndicatorType sourceIndicator;
> @XmlElement(namespace =
> "
http://www.3gpp.org/ftp/specs/archive/32_series/32.665#kernelNtf
")
> protected AnyNrm attributeList;
>
> /**
>
>
>
> I need to add the namespace to the XMLType so it look slike this :
>
> @XmlType(name = "",
> namespace="
http://www.3gpp.org/ftp/specs/archive/32_series/32.665#kernelNtf
"
> propOrder = {
> "correlatedNotification",
> "additionalText",
> "sourceIndicator",
> "attributeList"
> })
>
> Please help with binding syntax that I can use in an external binding file
>
>
> --
> View this message in context:
>
http://old.nabble.com/need-a-syntax-to-perform-custom-binding-for-anonimus-complexType-tp33363941p33363941.html
> Sent from the java.net - jaxb users mailing list archive at Nabble.com.
>
>
This message
: [
Message body
]
Next message
:
Venk_at_: "Help me to Solve this Problem"
Previous message
:
shtek: "need a syntax to perform custom binding for anonimus complexType"
In reply to
:
shtek: "need a syntax to perform custom binding for anonimus complexType"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]