public class ObjectFactory extends Object
An ObjectFactory allows you to programatically construct new instances of the Java representation for XML content. The Java representation of XML content can consist of schema derived interfaces and classes representing the binding of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in this class.
| Constructor and Description | 
|---|
ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun
 .research.ws.wadl 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Application | 
createApplication()
Create an instance of  
Application | 
Doc | 
createDoc()
Create an instance of  
Doc | 
Grammars | 
createGrammars()
Create an instance of  
Grammars | 
Include | 
createInclude()
Create an instance of  
Include | 
Link | 
createLink()
Create an instance of  
Link | 
Method | 
createMethod()
Create an instance of  
Method | 
Option | 
createOption()
Create an instance of  
Option | 
Param | 
createParam()
Create an instance of  
Param | 
Representation | 
createRepresentation()
Create an instance of  
Representation | 
Request | 
createRequest()
Create an instance of  
Request | 
Resource | 
createResource()
Create an instance of  
Resource | 
Resources | 
createResources()
Create an instance of  
Resources | 
ResourceType | 
createResourceType()
Create an instance of  
ResourceType | 
Response | 
createResponse()
Create an instance of  
Response | 
public ObjectFactory()
public Representation createRepresentation()
Representationpublic Application createApplication()
Applicationpublic ResourceType createResourceType()
ResourceTypeCopyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.