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 |
|---|---|
| public static final String | |
| public static final String | |
| protected Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addProperty(String uri, String key, Object value)
Adds the key/value pair to the Properties object associated with the given namespace URI. |
| public Properties | |
| public Map | |
| public Object |
| ATTRIBUTE_FORM_QUALIFIED_KEY | back to summary |
|---|---|
| public static final String ATTRIBUTE_FORM_QUALIFIED_KEY | |
| ELEMENT_FORM_QUALIFIED_KEY | back to summary |
|---|---|
| public static final String ELEMENT_FORM_QUALIFIED_KEY | |
| propMap | back to summary |
|---|---|
| protected Map<String, Properties> propMap | |
| SchemaModelGeneratorProperties | back to summary |
|---|---|
| public SchemaModelGeneratorProperties() | |
| addProperty | back to summary |
|---|---|
| public void addProperty(String uri, String key, Object value) Adds the key/value pair to the Properties object associated with the given namespace URI. If no entry exists for the given URI, a Properties object will be created. | |
| getProperties | back to summary |
|---|---|
| public Properties getProperties(String uri) Return the Properties object for the given namespace uri. If none exists a new Properties is created and returned. | |
| getPropertiesMap | back to summary |
|---|---|
| public Map Lazily initialize the URI->Properties map | |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String uri, String key) Return the property value for a given namespace/key pair. | |