com.sun.tools.ws.processor.model.jaxb
Class JAXBModel
java.lang.Object
com.sun.tools.ws.processor.model.jaxb.JAXBModel
public class JAXBModel
- extends Object
Root of the JAXB Model.
This is just a wrapper around a list of JAXBMappings.
- Author:
- Kohsuke Kawaguchi, Vivek Pandey
|
Constructor Summary |
JAXBModel()
Default constructor for the persistence. |
JAXBModel(JAXBModel rawModel)
Constructor that fills in the values from the given raw model |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXBModel
public JAXBModel()
- Default constructor for the persistence.
JAXBModel
public JAXBModel(JAXBModel rawModel)
- Constructor that fills in the values from the given raw model
getRawJAXBModel
public JAXBModel getRawJAXBModel()
getS2JJAXBModel
public S2JJAXBModel getS2JJAXBModel()
- Returns:
- Schema to Java model
getJ2SJAXBModel
public J2SJAXBModel getJ2SJAXBModel()
- Returns:
- Java to Schema JAXBModel
getMappings
public List<JAXBMapping> getMappings()
setMappings
public void setMappings(List<JAXBMapping> mappings)
get
public JAXBMapping get(QName elementName)
get
public JAXBMapping get(String className)
getGeneratedClassNames
public Set<String> getGeneratedClassNames()
- Returns:
- set of full qualified class names that jaxb will generate
setGeneratedClassNames
public void setGeneratedClassNames(Set<String> generatedClassNames)
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.