org.openxava.annotations.parse
Class AnnotatedClassParser

java.lang.Object
  extended by org.openxava.annotations.parse.AnnotatedClassParser

public class AnnotatedClassParser
extends java.lang.Object

Parse EJB3 Entities (POJOs with JPA annotations) into OpenXava components.

Author:
Javier Paniza

Constructor Summary
AnnotatedClassParser()
           
 
Method Summary
static MetaValidator createEntityValidator(EntityValidator validator)
          Creates a MetaValidator for entity validation from a EntityValidator annotation.
static MetaValidator createPropertyValidator(PropertyValidator validator)
          Creates a MetaValidator for property validation from a PropertyValidator annotation.
static java.util.Collection friendMetaApplicationGetManagedClassNames()
          Only for using from MetaApplication class.
static java.util.Collection<java.lang.String> getManagedClassNames()
           
 MetaComponent parse(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedClassParser

public AnnotatedClassParser()
Method Detail

parse

public MetaComponent parse(java.lang.String name)
                    throws java.lang.Exception
Throws:
java.lang.Exception

createEntityValidator

public static MetaValidator createEntityValidator(EntityValidator validator)
Creates a MetaValidator for entity validation from a EntityValidator annotation.


createPropertyValidator

public static MetaValidator createPropertyValidator(PropertyValidator validator)
Creates a MetaValidator for property validation from a PropertyValidator annotation.


friendMetaApplicationGetManagedClassNames

public static java.util.Collection friendMetaApplicationGetManagedClassNames()
Only for using from MetaApplication class.


getManagedClassNames

public static java.util.Collection<java.lang.String> getManagedClassNames()