RichFaces CDK Generator 4.2.0.CR1

org.richfaces.cdk.xmlconfig
Class JAXBBinding

java.lang.Object
  extended by org.richfaces.cdk.xmlconfig.JAXBBinding
All Implemented Interfaces:
JAXB

public class JAXBBinding
extends Object
implements JAXB

Author:
asmirnov@exadel.com

Field Summary
static com.google.common.collect.ImmutableSet<String> IGNORE_PROPERTIES
           
 
Constructor Summary
JAXBBinding()
           
 
Method Summary
static boolean isCollections(Class<?> targetType, Object propertyValue)
           
<T> void
marshal(Result output, String schemaLocation, T model)
           
<T> void
marshal(Writer output, String schemaLocation, T model)
           
<T> T
unmarshal(File file, String schemaLocation, Class<T> bindClass)
           
<T> T
unmarshal(String url, String schemaLocation, Class<T> bindClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IGNORE_PROPERTIES

public static final com.google.common.collect.ImmutableSet<String> IGNORE_PROPERTIES
Constructor Detail

JAXBBinding

public JAXBBinding()
Method Detail

unmarshal

public <T> T unmarshal(File file,
                       String schemaLocation,
                       Class<T> bindClass)
            throws CdkException,
                   FileNotFoundException
Specified by:
unmarshal in interface JAXB
Throws:
CdkException
FileNotFoundException

unmarshal

public <T> T unmarshal(String url,
                       String schemaLocation,
                       Class<T> bindClass)
            throws CdkException,
                   FileNotFoundException
Specified by:
unmarshal in interface JAXB
Throws:
CdkException
FileNotFoundException

marshal

public <T> void marshal(Writer output,
                        String schemaLocation,
                        T model)
             throws CdkException
Specified by:
marshal in interface JAXB
Throws:
CdkException

marshal

public <T> void marshal(Result output,
                        String schemaLocation,
                        T model)
             throws CdkException
Specified by:
marshal in interface JAXB
Throws:
CdkException

isCollections

public static boolean isCollections(Class<?> targetType,
                                    Object propertyValue)

RichFaces CDK Generator 4.2.0.CR1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.