|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.web.parsers.XMLHeader
public class XMLHeader
This class holds the information parsed from a header of an OpenNMS xml file.
| Field Summary | |
|---|---|
protected Document |
m_document
|
protected Element |
m_headerElement
|
protected Element |
m_root
|
protected String |
m_version
|
| Constructor Summary | |
|---|---|
XMLHeader()
Default constructor, does nothing |
|
XMLHeader(String version,
Document document)
|
|
| Method Summary | |
|---|---|
void |
buildDocument()
|
Element |
getHeaderElement()
|
String |
getMasterStation()
Returns the master station |
String |
getVersion()
Returns the version |
void |
setMasterStation(String aStation)
Sets the master station |
void |
setVersion(String aVersion)
Sets the version |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Document m_document
protected Element m_root
protected Element m_headerElement
protected String m_version
| Constructor Detail |
|---|
public XMLHeader()
public XMLHeader(String version,
Document document)
| Method Detail |
|---|
public void setVersion(String aVersion)
aVersion - the versionpublic String getVersion()
public void setMasterStation(String aStation)
aStation - the master stationpublic String getMasterStation()
public void buildDocument()
public Element getHeaderElement()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||