public class CustomMetadataXSD extends Object
| Constructor and Description |
|---|
CustomMetadataXSD(String name,
String hostname,
int port) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String |
getXmlnsPlusName() |
String |
getXSDFileContent()
Should be used only for debugging purposes.
|
String |
getXSDWebLocation()
The path of the file as seen from the internet
|
void |
materializeXSDonFilesystem(RecordTemplateCustom recordTemplate)
This function creates the file on the filesystem in order to be accessible from harvesters
Should be called AFTER creating any "MetadataXSD" instance and AFTER adding it custom fields through addCustomField() |
public String getXSDFileContent()
public String getXmlnsPlusName()
public String getXSDWebLocation()
MalformedURLExceptionpublic void materializeXSDonFilesystem(RecordTemplateCustom recordTemplate) throws TransformerException
TransformerExceptionpublic String getName()
Copyright © 2016. All Rights Reserved.