public class SchemaModelGeneratorProperties extends 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 String |
ATTRIBUTE_FORM_QUALIFIED_KEY |
static String |
ELEMENT_FORM_QUALIFIED_KEY |
Constructor and Description |
---|
SchemaModelGeneratorProperties() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String uri,
String key,
Object value)
Adds the key/value pair to the Properties object associated with the given
namespace URI.
|
Properties |
getProperties(String uri)
Return the Properties object for the given namespace uri.
|
Map<String,Properties> |
getPropertiesMap()
Lazily initialize the URI->Properties map
|
Object |
getProperty(String uri,
String key)
Return the property value for a given namespace/key pair.
|
public static final String ATTRIBUTE_FORM_QUALIFIED_KEY
public static final String ELEMENT_FORM_QUALIFIED_KEY
public Map<String,Properties> getPropertiesMap()
public void addProperty(String uri, String key, Object value)
uri
- key
- value
- public Object getProperty(String uri, String key)
uri
- key
- public Properties getProperties(String uri)
EclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference