com.abra.j2xb.annotations.xmlAnnotations
Annotation Type MOXmlNamespaceRef


@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public @interface MOXmlNamespaceRef

Defines the namespace for a global XML element or global XML type. When mapping a bean or a property that results in a XML element or global XML type, this annotation can be used to define the namespace of the global XML element to match that of another mapped class.

If the class pointed at is not mapped, or does not include a namespace definition, a namespace will be automatically generated from the referenced class package

Since:
JDK1.5
Version:
1.0, Dec 10, 2007
Author:
Yoav Abrahami
See Also:
MOXmlNamespaceRef, MOXmlGlobalType

Required Element Summary
 java.lang.Class<?> value
          another mapped class to use the namespace as defined the referenced class.
 

Element Detail

value

public abstract java.lang.Class<?> value
another mapped class to use the namespace as defined the referenced class.



Copyright © 2008. All Rights Reserved.