Java Reference
In-Depth Information
a name and an object that is a subtype of NamedObject , and two
optional Boolean flags, one indicating to overwrite the object and one
indicating to verify the object.
The two required arguments are thus: objectName to be $apply-
SettingsName, and “object” to follow the syntax of a Classification-
ApplySettings
In the jdm.xsd file, the type ClassificationApplySettings is described
by the following schema:
<xsd:complexType name "ClassificationApplySettings">
<xsd:complexContent>
<xsd:extension base "ApplySettings">
<xsd:sequence>
<xsd:choice>
<xsd:element name "costMatrixName" type "xsd:string" minOccurs "0"/>
<xsd:element name "costMatrix" type "CostMatrix" minOccurs "0"/>
</xsd:choice>
<xsd:element name "rankMap" type "ClassificationApplyMap"
maxOccurs "unbounded"/>
<xsd:element name "categoryMap" type "ClassificationCategoryMap"
maxOccurs "unbounded"/>
<xsd:element name "predictionMap" type "PredictionMap""
maxOccurs "unbounded"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
A valid XML may look like:
<object xsi:type "ClassificationApplySettings"
xmlns "http://www.jsr-73.org/2004/JDMSchema">
...
</object>
We must fill “…” with a section representing a category map. The
type ClassificationCategoryMap
is described by the following schema:
<xsd:complexType name "ClassificationCategoryMap">
<xsd:attribute name "content" type "ClassificationApplyContent"
use "required"/>
Search WWH ::




Custom Search