org.richfaces.cdk.xmlconfig
Class JAXBBinding
java.lang.Object
org.richfaces.cdk.xmlconfig.JAXBBinding
- All Implemented Interfaces:
- JAXB
public class JAXBBinding
- extends Object
- implements JAXB
- Author:
- asmirnov@exadel.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IGNORE_PROPERTIES
public static final com.google.common.collect.ImmutableSet<String> IGNORE_PROPERTIES
JAXBBinding
public JAXBBinding()
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)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.