Interface NiceModelBuilder
- All Known Implementing Classes:
AbstractXmlMenuBuilder,AbstractXMLUnmarshallerModelBuilder,FormBuilder,RemoveFormBuilder,XmlExtendMenuBuilder,XMLFormBuilder,XMLFormRemove,XmlMenuBuilder,XMLNiceEntityBuilder,XMLRelationBuilder,XMLRelationOverrideBuilder,XMLRemove,XMLTemplateBuilder
public interface NiceModelBuilder
Adds parts of the model from a single-resource.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbuildModel(InputStream source, URI location, Object receiver, SourceContribution src) Class<?> getType()Return the type of T
-
Method Details
-
getType
Class<?> getType()Return the type of T -
buildModel
void buildModel(InputStream source, URI location, Object receiver, SourceContribution src) throws ModelBuildException - Parameters:
source- the source-stream. The stream gets closed by the caller.location- the location as URIreceiver- the receiversrc- the contribution that defines the source currently being handled- Throws:
ModelBuildException- if something went wrong
-