org.jcoderz.phoenix.pmd.ruleset.jaxb
Class ObjectFactory

java.lang.Object
  extended by javax.xml.bind.JAXBContext
      extended by org.jcoderz.phoenix.report.jaxb.impl.runtime.DefaultJAXBContextImpl
          extended by org.jcoderz.phoenix.pmd.ruleset.jaxb.ObjectFactory

public class ObjectFactory
extends DefaultJAXBContextImpl

This object contains factory methods for each Java content interface and Java element interface generated in the org.jcoderz.phoenix.pmd.ruleset.jaxb package.

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.


Field Summary
static GrammarInfo grammarInfo
           
static Class version
           
 
Fields inherited from class javax.xml.bind.JAXBContext
JAXB_CONTEXT_FACTORY
 
Constructor Summary
ObjectFactory()
          Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jcoderz.phoenix.pmd.ruleset.jaxb
 
Method Summary
 Properties createProperties()
          Create an instance of Properties
 PropertiesType createPropertiesType()
          Create an instance of PropertiesType
 Property createProperty()
          Create an instance of Property
 PropertyType createPropertyType()
          Create an instance of PropertyType
 Rule createRule()
          Create an instance of Rule
 Ruleset createRuleset()
          Create an instance of Ruleset
 RulesetType createRulesetType()
          Create an instance of RulesetType
 RuleType createRuleType()
          Create an instance of RuleType
 RuleType.Description createRuleTypeDescription()
          Create an instance of RuleTypeDescription
 RuleType.Description createRuleTypeDescription(String value)
          Create an instance of RuleTypeDescription
 RuleType.Example createRuleTypeExample()
          Create an instance of RuleTypeExample
 RuleType.Example createRuleTypeExample(String value)
          Create an instance of RuleTypeExample
 RuleType.Priority createRuleTypePriority()
          Create an instance of RuleTypePriority
 RuleType.Priority createRuleTypePriority(int value)
          Create an instance of RuleTypePriority
 Object getProperty(String name)
          Get the specified property.
 Object newInstance(Class javaContentInterface)
          Create an instance of the specified Java content interface.
 void setProperty(String name, Object value)
          Set the specified property.
 
Methods inherited from class org.jcoderz.phoenix.report.jaxb.impl.runtime.DefaultJAXBContextImpl
createMarshaller, createUnmarshaller, createValidator, getGrammar, getGrammarInfo
 
Methods inherited from class javax.xml.bind.JAXBContext
createBinder, createBinder, createJAXBIntrospector, generateSchema, newInstance, newInstance, newInstance, newInstance, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

grammarInfo

public static final GrammarInfo grammarInfo

version

public static final Class version
Constructor Detail

ObjectFactory

public ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jcoderz.phoenix.pmd.ruleset.jaxb

Method Detail

newInstance

public Object newInstance(Class javaContentInterface)
                   throws JAXBException
Create an instance of the specified Java content interface.

Overrides:
newInstance in class DefaultJAXBContextImpl
Parameters:
javaContentInterface - the Class object of the javacontent interface to instantiate
Returns:
a new instance
Throws:
JAXBException - if an error occurs

getProperty

public Object getProperty(String name)
                   throws PropertyException
Get the specified property. This method can only be used to get provider specific properties. Attempting to get an undefined property will result in a PropertyException being thrown.

Overrides:
getProperty in class DefaultJAXBContextImpl
Parameters:
name - the name of the property to retrieve
Returns:
the value of the requested property
Throws:
PropertyException - when there is an error retrieving the given property or value

setProperty

public void setProperty(String name,
                        Object value)
                 throws PropertyException
Set the specified property. This method can only be used to set provider specific properties. Attempting to set an undefined property will result in a PropertyException being thrown.

Overrides:
setProperty in class DefaultJAXBContextImpl
Parameters:
name - the name of the property to retrieve
value - the value of the property to be set
Throws:
PropertyException - when there is an error processing the given property or value

createProperty

public Property createProperty()
                        throws JAXBException
Create an instance of Property

Throws:
JAXBException - if an error occurs

createProperties

public Properties createProperties()
                            throws JAXBException
Create an instance of Properties

Throws:
JAXBException - if an error occurs

createPropertyType

public PropertyType createPropertyType()
                                throws JAXBException
Create an instance of PropertyType

Throws:
JAXBException - if an error occurs

createRuleType

public RuleType createRuleType()
                        throws JAXBException
Create an instance of RuleType

Throws:
JAXBException - if an error occurs

createRule

public Rule createRule()
                throws JAXBException
Create an instance of Rule

Throws:
JAXBException - if an error occurs

createPropertiesType

public PropertiesType createPropertiesType()
                                    throws JAXBException
Create an instance of PropertiesType

Throws:
JAXBException - if an error occurs

createRuleTypeExample

public RuleType.Example createRuleTypeExample()
                                       throws JAXBException
Create an instance of RuleTypeExample

Throws:
JAXBException - if an error occurs

createRuleTypeExample

public RuleType.Example createRuleTypeExample(String value)
                                       throws JAXBException
Create an instance of RuleTypeExample

Throws:
JAXBException - if an error occurs

createRulesetType

public RulesetType createRulesetType()
                              throws JAXBException
Create an instance of RulesetType

Throws:
JAXBException - if an error occurs

createRuleset

public Ruleset createRuleset()
                      throws JAXBException
Create an instance of Ruleset

Throws:
JAXBException - if an error occurs

createRuleTypePriority

public RuleType.Priority createRuleTypePriority()
                                         throws JAXBException
Create an instance of RuleTypePriority

Throws:
JAXBException - if an error occurs

createRuleTypePriority

public RuleType.Priority createRuleTypePriority(int value)
                                         throws JAXBException
Create an instance of RuleTypePriority

Throws:
JAXBException - if an error occurs

createRuleTypeDescription

public RuleType.Description createRuleTypeDescription()
                                               throws JAXBException
Create an instance of RuleTypeDescription

Throws:
JAXBException - if an error occurs

createRuleTypeDescription

public RuleType.Description createRuleTypeDescription(String value)
                                               throws JAXBException
Create an instance of RuleTypeDescription

Throws:
JAXBException - if an error occurs


Copyright 2007 The jCoderZ Project.