org.naftulin.configmgr.content
Class XmlRecordImpl
java.lang.Object
org.naftulin.configmgr.content.AbstractRecordImpl
org.naftulin.configmgr.content.XmlRecordImpl
public class XmlRecordImpl
- extends AbstractRecordImpl
Constructor Summary |
XmlRecordImpl()
Constructs a record without specifying the key or file name. |
XmlRecordImpl(java.lang.String key,
java.lang.String fileName,
java.lang.String className)
Constructs a record with the key and file name specified. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XmlRecordImpl
public XmlRecordImpl()
- Constructs a record without specifying the key or file name.
XmlRecordImpl
public XmlRecordImpl(java.lang.String key,
java.lang.String fileName,
java.lang.String className)
- Constructs a record with the key and file name specified.
- Parameters:
key
- the key associated with the record.fileName
- the file name associated with the record.
getParser
public ConfigEntryParser getParser()
- Returns an instance of
parser
that parses a property file and stores it as properties
.
- Specified by:
getParser
in class AbstractRecordImpl
- Returns:
- the parser that can parse the file to extract the configuration.
getClassName
public java.lang.String getClassName()
setClassName
public void setClassName(java.lang.String className)
toString
public java.lang.String toString()
- Returns the string representation of the xml record.
- Overrides:
toString
in class AbstractRecordImpl
- Returns:
- the string representation of the xml record.
Copyright © 2009. All Rights Reserved.