org.ws4d.java.configuration
Class PropertyHeader
java.lang.Object
org.ws4d.java.configuration.PropertyHeader
public class PropertyHeader
- extends java.lang.Object
Class includes name of property section headline and the property depth.
Minimal depth of property section headline is "1";
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
PropertyHeader
public PropertyHeader(java.lang.String[] headers)
- Parameters:
headers
-
PropertyHeader
public PropertyHeader(java.lang.String header,
int depth)
- Constructor. This constructor won't initialize the super headers.
Therefore the method initSuperHeaders must be invoked afterwards.
- Parameters:
header
- headerdepth
- Depth of header, minimal depth is "1".
PropertyHeader
public PropertyHeader(java.lang.String header,
java.lang.String[] superHeaders)
- Constructor.
- Parameters:
header
- superHeaders
-
PropertyHeader
public PropertyHeader(java.lang.String header,
PropertyHeader superHeaders)
- Parameters:
header
- superHeaders
-
initSuperHeaders
public void initSuperHeaders(PropertyHeader superHeaders)
depth
public int depth()
superHeader
public PropertyHeader superHeader()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object