org.eclipse.emf.mwe.internal.core.ast.parser
Class XmlLocationAnalyser.XmlFileEvaluator

java.lang.Object
  extended by org.eclipse.emf.mwe.internal.core.ast.parser.XmlLocationAnalyser.XmlFileEvaluator
Enclosing class:
XmlLocationAnalyser

public class XmlLocationAnalyser.XmlFileEvaluator
extends java.lang.Object


Field Summary
protected  boolean inComment
           
protected  boolean inInstruction
           
protected  boolean inName
           
protected  boolean inTag
           
protected  boolean isClosingTag
           
protected  java.lang.StringBuffer name
           
protected  java.lang.StringBuffer otherText
           
protected  java.lang.StringBuffer specChar
           
 
Constructor Summary
XmlLocationAnalyser.XmlFileEvaluator()
           
 
Method Summary
 Location adapt(Location rawLoc)
           
protected  Location adaptEnd(Location rawLoc)
           
 void evaluate(java.io.InputStream is)
           
protected  int findFirstLineOfTag(int lineNumber)
           
protected  XmlLocationAnalyser.XmlTagValues findLine(Location loc)
           
 java.util.List<java.lang.Object[]> getResult()
           
protected  XmlLocationAnalyser.XmlTagValues handleColumns(int col, java.util.List<XmlLocationAnalyser.XmlTagValues> values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

otherText

protected java.lang.StringBuffer otherText

name

protected java.lang.StringBuffer name

specChar

protected java.lang.StringBuffer specChar

inTag

protected boolean inTag

isClosingTag

protected boolean isClosingTag

inName

protected boolean inName

inInstruction

protected boolean inInstruction

inComment

protected boolean inComment
Constructor Detail

XmlLocationAnalyser.XmlFileEvaluator

public XmlLocationAnalyser.XmlFileEvaluator()
Method Detail

evaluate

public void evaluate(java.io.InputStream is)

findFirstLineOfTag

protected int findFirstLineOfTag(int lineNumber)

adapt

public Location adapt(Location rawLoc)

adaptEnd

protected Location adaptEnd(Location rawLoc)

findLine

protected XmlLocationAnalyser.XmlTagValues findLine(Location loc)

handleColumns

protected XmlLocationAnalyser.XmlTagValues handleColumns(int col,
                                                         java.util.List<XmlLocationAnalyser.XmlTagValues> values)

getResult

public java.util.List<java.lang.Object[]> getResult()