schema2template
Class OutputFileListEntry
java.lang.Object
schema2template.OutputFileListEntry
public class OutputFileListEntry
- extends Object
Belongs to FileListHandler. Represents one single entry in ouput filelist.
- Author:
- Hans-Peter Schaal
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputFileListEntry
public OutputFileListEntry(OutputFileListEntry.EntryType type)
- Parameters:
type
- Use FilelistEntry.EntryType.[FILE|PATH]
OutputFileListEntry
public OutputFileListEntry(OutputFileListEntry.EntryType type,
int lineNumber)
- Parameters:
type
- Use FilelistEntry.EntryType.[FILE|PATH]lineNumber
- number in filelist.xml for logging / error output.
getType
public OutputFileListEntry.EntryType getType()
- Returns:
- the entry type
getLineNumber
public int getLineNumber()
- Returns:
- line number in filelist.xml for logging / error output.
getAttribute
public String getAttribute(String key)
- Parameters:
key
- Attribute Key
- Returns:
- Attribute Value
getAttributes
public Map<String,String> getAttributes()
- Returns:
- Attributes as map
setAttribute
public void setAttribute(String key,
String value)
- Parameters:
key
- Attribute Keyvalue
- Attribute Value. If null, delete the key.
Copyright © 2010-2017 The Apache Software Foundation. All Rights Reserved.