public class PropertyFactory extends java.lang.Object implements PropertyFactoryIF
Modifier and Type | Method and Description |
---|---|
void |
addProperty(XSDContextIF ctx,
java.util.Properties properties,
Property prop)
Read the properties from an xml tree node.
|
java.util.Properties |
createProperties(XSDContextIF ctx,
Arguments arguments)
Read the arguments from an xml tree node.
|
java.util.Properties |
createProperties(XSDContextIF ctx,
Properties props)
Read the properties from an xml tree node.
|
static PropertyFactory |
getInstance()
Get an instance of a factory.
|
java.lang.String |
getVMDetailedVersion()
Get the VM version string.
|
public static PropertyFactory getInstance()
public java.util.Properties createProperties(XSDContextIF ctx, Arguments arguments) throws java.io.FileNotFoundException, ExecutableException, java.io.IOException
createProperties
in interface PropertyFactoryIF
ctx
- the xsd context.arguments
- the description of the arguments.java.io.FileNotFoundException
ExecutableException
java.io.IOException
public java.util.Properties createProperties(XSDContextIF ctx, Properties props) throws java.io.FileNotFoundException, ExecutableException, java.io.IOException
createProperties
in interface PropertyFactoryIF
ctx
- the xsd context.props
- the description of the properties.java.io.FileNotFoundException
ExecutableException
java.io.IOException
public void addProperty(XSDContextIF ctx, java.util.Properties properties, Property prop) throws java.io.FileNotFoundException, java.io.IOException, ExecutableException
addProperty
in interface PropertyFactoryIF
ctx
- the xsd context.properties
- the property object that receives the value.prop
- the description of the property.java.io.FileNotFoundException
java.io.IOException
ExecutableException
public java.lang.String getVMDetailedVersion()