org.yecht
Class Parser
java.lang.Object
org.yecht.Parser
public class Parser
- extends Object
- Author:
- Ola Bini
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
root
public Object root
root_on_error
public Object root_on_error
bufsize
public int bufsize
buffer
public Pointer buffer
linectptr
public int linectptr
lineptr
public int lineptr
token
public int token
toktmp
public int toktmp
cursor
public int cursor
marker
public int marker
limit
public int limit
linect
public int linect
eof
public boolean eof
bonus
public Object bonus
resetLevels
public void resetLevels()
popLevel
public void popLevel()
resetCursor
public void resetCursor()
setRootOnError
public void setRootOnError(Object roer)
newParser
public static Parser newParser()
handler
public void handler(NodeHandler hdlr)
implicitTyping
public void implicitTyping(boolean flag)
taguriExpansion
public void taguriExpansion(boolean flag)
errorHandler
public void errorHandler(ErrorHandler hdlr)
badAnchorHandler
public void badAnchorHandler(BadAnchorHandler hdlr)
setInputType
public void setInputType(ParserInput input_type)
file
public void file(InputStream fp,
IoFileRead read)
str
public void str(Pointer ptr,
int len,
IoStrRead read)
str
public void str(Pointer ptr,
IoStrRead read)
currentLevel
public Level currentLevel()
addLevel
public void addLevel(int len,
LevelStatus status)
moveTokens
public int moveTokens()
checkLimit
public void checkLimit(int len)
read
public int read()
throws IOException
- Throws:
IOException
read
public int read(int max_size)
throws IOException
- Throws:
IOException
parse
public Object parse()
addNode
public Object addNode(Node n)
addAnchor
public Node addAnchor(String a,
Node n)
removeAnchor
public void removeAnchor(String a)
getAnchor
public Node getAnchor(String a)
addTransfer
public static void addTransfer(String uri,
Node n,
boolean taguri)
xprivate
public static String xprivate(String type_id)
taguri
public static String taguri(String domain,
String type_id)
tryImplicit
public static boolean tryImplicit(Node n)
Copyright © 2013. All Rights Reserved.