public class SchemaModelGeneratorProperties
extends java.lang.Object
Purpose:Encapsulates a Map of Namespace URIs to Properties.
Responsibilities:
This class is used to hold onto a Map of Properties objects on a per namespace basis. It is intended to be used in conjunction with the SchemaModelGenerator class, to hand in Properties to be applied to the Schema that is generated for a given namespace.
Schema,
SchemaModelGenerator,
Properties| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTRIBUTE_FORM_QUALIFIED_KEY |
static java.lang.String |
ELEMENT_FORM_QUALIFIED_KEY |
| Constructor and Description |
|---|
SchemaModelGeneratorProperties() |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(java.lang.String uri,
java.lang.String key,
java.lang.Object value)
Adds the key/value pair to the Properties object associated with the given
namespace URI.
|
java.util.Properties |
getProperties(java.lang.String uri)
Return the Properties object for the given namespace uri.
|
java.util.Map<java.lang.String,java.util.Properties> |
getPropertiesMap()
Lazily initialize the URI->Properties map
|
java.lang.Object |
getProperty(java.lang.String uri,
java.lang.String key)
Return the property value for a given namespace/key pair.
|
public static final java.lang.String ATTRIBUTE_FORM_QUALIFIED_KEY
public static final java.lang.String ELEMENT_FORM_QUALIFIED_KEY
public java.util.Map<java.lang.String,java.util.Properties> getPropertiesMap()
public void addProperty(java.lang.String uri,
java.lang.String key,
java.lang.Object value)
uri - key - value - public java.lang.Object getProperty(java.lang.String uri,
java.lang.String key)
uri - key - public java.util.Properties getProperties(java.lang.String uri)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference