org.owasp.orizon.tools.osh.parser
Interface Node
- All Known Implementing Classes:
- BaseNode, C_T, Command, CRAWL, CrawlCommand, DUSK, DuskCommand, FILENAME, HELP, HelpCommand, INFO, InfoCommand, J_T, JERICHO, JerichoCommand, LIST, ListCommand, MIRAGE, MirageCommand, MODEL, ModelCommand, NL, NoCommand, NOTRACE, OPEN, OpenCommand, ORL_ROOT, OrlRootCommand, PHP_T, QUIET, QUIT, QuitCommand, R_CONSOLE, R_CSV, R_HTML, R_TXT, R_XML, REPORT, REPORT_FORMAT, REPORT_NAME, ReportCommand, ReportFormatCommand, ReportNameCommand, RUN, RunCommand, SEARCH, SearchCommand, SET, SetCommand, STAT, StatCommand, STORE, SUGGEST, SuggestCommand, TEE, TEST, TestCommand, Token, TORNADO, TornadoCommand, TRACE, TWILIGHT, TwilightCommand, VERSION, VersionCommand
public interface Node
open
void open()
- Life-cycle hook method called after the node has been made the current
node
close
void close()
- Life-cycle hook method called after all the child nodes have been
added.
setParent
void setParent(Node n)
getParent
Node getParent()
addChild
void addChild(Node n)
addChild
void addChild(int i,
Node n)
getChild
Node getChild(int i)
setChild
void setChild(int i,
Node n)
removeChild
Node removeChild(int i)
removeChild
boolean removeChild(Node n)
indexOf
int indexOf(Node child)
clearChildren
void clearChildren()
getChildCount
int getChildCount()
getAttribute
java.lang.Object getAttribute(java.lang.String name)
setAttribute
void setAttribute(java.lang.String name,
java.lang.Object value)
hasAttribute
boolean hasAttribute(java.lang.String name)
getAttributeNames
java.util.Set<java.lang.String> getAttributeNames()
getInputSource
java.lang.String getInputSource()
- Returns:
- A string that says where the input came from. Typically a file name, though
it could be a URL or something else, of course.
setInputSource
void setInputSource(java.lang.String inputSource)
getBeginLine
int getBeginLine()
getEndLine
int getEndLine()
getBeginColumn
int getBeginColumn()
getEndColumn
int getEndColumn()
setBeginLine
void setBeginLine(int beginLine)
setEndLine
void setEndLine(int endLine)
setBeginColumn
void setBeginColumn(int beginColumn)
setEndColumn
void setEndColumn(int endColumn)
getId
int getId()