com.abra.j2xb.beans.model
Class MOGlobalTypeUtils

java.lang.Object
  extended by com.abra.j2xb.beans.model.MOGlobalTypeUtils

public class MOGlobalTypeUtils
extends java.lang.Object

Since:
JDK1.5
Version:
1.0, May 1, 2008
Author:
Yoav Abrahami

Constructor Summary
MOGlobalTypeUtils()
           
 
Method Summary
static java.lang.String getPreferedNamespacePrefix(java.lang.Class<?> aClass)
           
static java.lang.String getPreferedNamespacePrefix(MOPropertyDescriptor propertyDescriptor)
           
static java.lang.String getTypeName(java.lang.Class<?> aClass)
           
static java.lang.String getTypeName(MOPropertyDescriptor propertyDescriptor)
           
static java.lang.String getXmlNamespace(java.lang.Class<?> aClass)
           
static java.lang.String getXmlNamespace(MOPropertyDescriptor propertyDescriptor)
           
static java.lang.String getXmlNamespace(MOXmlNamespace xmlNamespace, MOXmlNamespaceRef xmlNamespaceRef, java.lang.Class<?> aClass)
           
static boolean isGlobalPropertyType(MOPropertyDescriptor propertyDescriptor)
           
static boolean isGlobalType(java.lang.Class<?> aClass)
           
static void validateXmlNamespace(java.lang.Class<?> aClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MOGlobalTypeUtils

public MOGlobalTypeUtils()
Method Detail

isGlobalType

public static boolean isGlobalType(java.lang.Class<?> aClass)

isGlobalPropertyType

public static boolean isGlobalPropertyType(MOPropertyDescriptor propertyDescriptor)

getTypeName

public static java.lang.String getTypeName(java.lang.Class<?> aClass)

getTypeName

public static java.lang.String getTypeName(MOPropertyDescriptor propertyDescriptor)

getXmlNamespace

public static java.lang.String getXmlNamespace(java.lang.Class<?> aClass)

getXmlNamespace

public static java.lang.String getXmlNamespace(MOXmlNamespace xmlNamespace,
                                               MOXmlNamespaceRef xmlNamespaceRef,
                                               java.lang.Class<?> aClass)

validateXmlNamespace

public static void validateXmlNamespace(java.lang.Class<?> aClass)
                                 throws MOBeansInvalidXmlNamespace,
                                        MOBeansAnnotationCombinationNotAllowed
Throws:
MOBeansInvalidXmlNamespace
MOBeansAnnotationCombinationNotAllowed

getXmlNamespace

public static java.lang.String getXmlNamespace(MOPropertyDescriptor propertyDescriptor)

getPreferedNamespacePrefix

public static java.lang.String getPreferedNamespacePrefix(java.lang.Class<?> aClass)

getPreferedNamespacePrefix

public static java.lang.String getPreferedNamespacePrefix(MOPropertyDescriptor propertyDescriptor)


Copyright © 2008. All Rights Reserved.