org.richfaces.cdk.xmlconfig
Class JAXBBinding
java.lang.Object
org.richfaces.cdk.xmlconfig.JAXBBinding
- All Implemented Interfaces:
- JAXB
public class JAXBBinding
- extends java.lang.Object
- implements JAXB
- Author:
- asmirnov@exadel.com
|
Field Summary |
static com.google.common.collect.ImmutableSet<java.lang.String> |
IGNORE_PROPERTIES
|
|
Method Summary |
static boolean |
isCollections(java.lang.Class<?> targetType,
java.lang.Object propertyValue)
|
|
marshal(javax.xml.transform.Result output,
java.lang.String schemaLocation,
T model)
|
|
marshal(java.io.Writer output,
java.lang.String schemaLocation,
T model)
|
|
unmarshal(java.io.File file,
java.lang.String schemaLocation,
java.lang.Class<T> bindClass)
|
|
unmarshal(java.lang.String url,
java.lang.String schemaLocation,
java.lang.Class<T> bindClass)
|
| 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<java.lang.String> IGNORE_PROPERTIES
JAXBBinding
public JAXBBinding()
unmarshal
public <T> T unmarshal(java.io.File file,
java.lang.String schemaLocation,
java.lang.Class<T> bindClass)
throws CdkException,
java.io.FileNotFoundException
- Specified by:
unmarshal in interface JAXB
- Throws:
CdkException
java.io.FileNotFoundException
unmarshal
public <T> T unmarshal(java.lang.String url,
java.lang.String schemaLocation,
java.lang.Class<T> bindClass)
throws CdkException,
java.io.FileNotFoundException
- Specified by:
unmarshal in interface JAXB
- Throws:
CdkException
java.io.FileNotFoundException
marshal
public <T> void marshal(java.io.Writer output,
java.lang.String schemaLocation,
T model)
throws CdkException
- Specified by:
marshal in interface JAXB
- Throws:
CdkException
marshal
public <T> void marshal(javax.xml.transform.Result output,
java.lang.String schemaLocation,
T model)
throws CdkException
- Specified by:
marshal in interface JAXB
- Throws:
CdkException
isCollections
public static boolean isCollections(java.lang.Class<?> targetType,
java.lang.Object propertyValue)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.