org.rhq.plugins.apache.parser
Class ApacheDirective

java.lang.Object
  extended by org.rhq.plugins.apache.parser.ApacheDirective
All Implemented Interfaces:
Cloneable

public class ApacheDirective
extends Object
implements Cloneable


Constructor Summary
ApacheDirective()
           
ApacheDirective(String directive)
           
 
Method Summary
 void addChildDirective(ApacheDirective directive)
           
 void addValue(String val)
           
 ApacheDirective clone()
           
 List<ApacheDirective> getChildByName(String name)
           
 List<ApacheDirective> getChildDirectives()
           
 String getFile()
           
 String getName()
           
 ApacheDirective getParentNode()
           
 int getSeq()
           
 String getText()
           
 List<String> getValues()
           
 String getValuesAsString()
           
 boolean isNested()
           
 boolean isRootNode()
           
 boolean isUpdated()
           
 void remove()
           
 void removeChilDirective(ApacheDirective dir)
           
 void setFile(String file)
           
 void setName(String name)
           
 void setNested(boolean isNested)
           
 void setParentNode(ApacheDirective parent)
           
 void setRootNode(boolean isRootNode)
           
 void setUpdated(boolean updated)
           
 void setValues(List<String> values)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApacheDirective

public ApacheDirective()

ApacheDirective

public ApacheDirective(String directive)
Method Detail

getName

public String getName()

setName

public void setName(String name)

getValues

public List<String> getValues()

setValues

public void setValues(List<String> values)

isNested

public boolean isNested()

setNested

public void setNested(boolean isNested)

getValuesAsString

public String getValuesAsString()

addChildDirective

public void addChildDirective(ApacheDirective directive)

getChildDirectives

public List<ApacheDirective> getChildDirectives()

getChildByName

public List<ApacheDirective> getChildByName(String name)

getParentNode

public ApacheDirective getParentNode()

setParentNode

public void setParentNode(ApacheDirective parent)

isRootNode

public boolean isRootNode()

setRootNode

public void setRootNode(boolean isRootNode)

isUpdated

public boolean isUpdated()

setUpdated

public void setUpdated(boolean updated)

getFile

public String getFile()

setFile

public void setFile(String file)

removeChilDirective

public void removeChilDirective(ApacheDirective dir)

remove

public void remove()

getText

public String getText()

getSeq

public int getSeq()

addValue

public void addValue(String val)

clone

public ApacheDirective clone()
Overrides:
clone in class Object


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.