Top Fields Constructors Methods
org.aspectj.weaver.loadtime.definition

public Class LightXMLParser

extends Object
Class Inheritance
Imports
java.io.Reader, java.util.ArrayList, .HashMap, .Map

Field Summary

Modifier and TypeField and Description
private Map<String, Object>
private ArrayList<LightXMLParser>
private static Map<String, char[]>
private String
private static final char
private char
private Reader

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
private boolean
private boolean
private LightXMLParser
private void
public Map<String, Object>
public ArrayList<E>
public String
private char
private void
private void
private void
private char
private void
public void
private void
private void
pushBackChar(char c)

private void
setAttribute(String name, Object value)

private void
private char
private void
private void
skipCommentOrXmlTag(int bracketLevel)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

attributesback to summary
private Map<String, Object> attributes
childrenback to summary
private ArrayList<LightXMLParser> children
entitiesback to summary
private static Map<String, char[]> entities
nameback to summary
private String name
NULL_CHARback to summary
private static final char NULL_CHAR
pushedBackCharback to summary
private char pushedBackChar
readerback to summary
private Reader reader

Constructor Detail

LightXMLParserback to summary
public LightXMLParser()

Method Detail

addChildback to summary
private void addChild(LightXMLParser child)
checkCDATAback to summary
private boolean checkCDATA(StringBuffer buf) throws Exception
checkLiteralback to summary
private boolean checkLiteral(String literal) throws Exception
createAnotherElementback to summary
private LightXMLParser createAnotherElement()
emptyBufback to summary
private void emptyBuf(StringBuffer buf)
getAttributesback to summary
public Map<String, Object> getAttributes()
getChildrensback to summary
public ArrayList<E> getChildrens()
getNameback to summary
public String getName()
getNextCharback to summary
private char getNextChar() throws Exception
getNodeNameback to summary
private void getNodeName(StringBuffer result) throws Exception
getPCDataback to summary
private void getPCData(StringBuffer data) throws Exception
getStringback to summary
private void getString(StringBuffer string) throws Exception
getWhitespacesback to summary
private char getWhitespaces(StringBuffer result) throws Exception
mapEntityback to summary
private void mapEntity(StringBuffer buf) throws Exception
parseFromReaderback to summary
public void parseFromReader(Reader reader) throws Exception
parseNodeback to summary
private void parseNode(LightXMLParser elt) throws Exception
pushBackCharback to summary
private void pushBackChar(char c)
setAttributeback to summary
private void setAttribute(String name, Object value)
setNameback to summary
private void setName(String name)
skipBlanksback to summary
private char skipBlanks() throws Exception
skipCommentback to summary
private void skipComment() throws Exception
skipCommentOrXmlTagback to summary
private void skipCommentOrXmlTag(int bracketLevel) throws Exception