org.tm4j.vtl.extractors
Class FileNameExtractor

java.lang.Object
  extended byorg.tm4j.topicmap.utils.extractors.ExtractorBase
      extended byorg.tm4j.vtl.extractors.FileNameExtractor
All Implemented Interfaces:
uk.co.jezuk.mango.UnaryFunction

public class FileNameExtractor
extends org.tm4j.topicmap.utils.extractors.ExtractorBase

An extractor which generates a file name base for a topic map object. This implementation uses the value of the object's ID property as the file name as this property is guarunteed to be unique across the topic map. Note, the file name extracted has no suffix ( such as ".htm" or ".html").


Constructor Summary
FileNameExtractor()
           
 
Method Summary
 java.lang.Object _extract(java.lang.Object in)
           
 
Methods inherited from class org.tm4j.topicmap.utils.extractors.ExtractorBase
fn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileNameExtractor

public FileNameExtractor()
Method Detail

_extract

public java.lang.Object _extract(java.lang.Object in)