org.tm4j.topicmap.utils.TopicMapBuilder .setProperty(java.lang.String propertyName,java.lang.Object value)
Description
Set a configuration property for the builder which will be applied
to the processing of subsequent invocations of the build()
method. A typical use of this method will be to set parser options prior
to parsing the input stream.
Parameters | ||
---|---|---|
java.lang.String | propertyName | the name of the property to be set. See inidividual implementation classes for details of which properties are recognized by each implementation. |
java.lang.Object | value | the value to be applied to the property. |
Throws
-
org.tm4j.topicmap.utils.BuilderPropertyInvalidException
-
if
value
falls outside the supported range of values for the specified property. -
org.tm4j.topicmap.utils.BuilderPropertyNotRecognizedException
-
if
propertyName
specifies a property which is not supported by the TopicMapBuilder implementation.
Meta Data (1)