public class TMXMLPathTopicMapSource extends AbstractOntopolyTopicMapSource
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
validate |
alwaysReindexOnLoad, indexDirectory, maintainFulltextIndexes, supportsCreate, supportsDeletebase_address, duplicate_suppression, hidden, id, path, refmap, suffix, title| Constructor and Description |
|---|
TMXMLPathTopicMapSource() |
TMXMLPathTopicMapSource(String path,
String suffix) |
| Modifier and Type | Method and Description |
|---|---|
TopicMapReferenceIF |
createReference(URL url,
String id,
String title,
LocatorIF base_address) |
boolean |
getValidation()
PUBLIC: Returns true if validation is on, false otherwise.
|
protected TopicMapWriterIF |
getWriter(File file)
INTERNAL: Used by createTopicMap to serialize the new topic map.
|
void |
setValidation(boolean validate)
PUBLIC: Turn validation of TM/XML documents according to RELAX-NG
schema on or off.
|
createTopicMap, getAlwaysReindexOnLoad, getIndexDirectory, getMaintainFulltextIndexes, getSupportsCreate, getSupportsDelete, setAlwaysReindexOnLoad, setIndexDirectory, setMaintainFulltextIndexes, setSupportsCreate, setSupportsDelete, supportsCreate, supportsDeleteaccept, close, createReference, getBase, getBaseAddress, getDuplicateSuppression, getFileFilter, getHidden, getId, getPath, getReferences, getSuffix, getTitle, refresh, refreshFromClasspath, refreshFromFilesystem, setBase, setBaseAddress, setDuplicateSuppression, setFileFilter, setHidden, setId, setPath, setSuffix, setTitlepublic TopicMapReferenceIF createReference(URL url, String id, String title, LocatorIF base_address)
createReference in class AbstractOntopolyTopicMapSourcepublic void setValidation(boolean validate)
validate - Will validate if true, will not if false.public boolean getValidation()
protected TopicMapWriterIF getWriter(File file) throws IOException
getWriter in class AbstractOntopolyTopicMapSourceIOException