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 Details

    • JAXBModel

      public JAXBModel()
      Default constructor for the persistence.
    • JAXBModel

      public JAXBModel(JAXBModel rawModel)
      Constructor that fills in the values from the given raw model
  • Method Details

    • 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)