A C D E F G I R S T V W X

A

addCData(String) - Method in class com.softcorporation.xmllight.Element
Adds a CDATA section to the end of the existing content of the Element.
addComment(String) - Method in class com.softcorporation.xmllight.Element
Adds a comment to the end of the existing content of the Element.
addCont(Element) - Method in class com.softcorporation.xmllight.Element
Adds a string representation of the Element elem to the end of the content of the Element.
addCont(String) - Method in class com.softcorporation.xmllight.Element
Adds a content to the end of the existing content of the Element.
addElem(Element) - Method in class com.softcorporation.xmllight.Element
Adds a string representation of the Element elem to the end of the content of the Element.
addText(String) - Method in class com.softcorporation.xmllight.Element
Adds a text to the end of the existing content of the Element.

C

clearComments(String) - Static method in class com.softcorporation.xmllight.XMLLight
Removes the comments in XML document.
com.softcorporation.xmllight - package com.softcorporation.xmllight
 

D

debug - Static variable in class com.softcorporation.xmllight.XMLLight
Debug flag.
decode(String) - Static method in class com.softcorporation.xmllight.XMLLight
Decodes the entities in string.

E

Element - class com.softcorporation.xmllight.Element.
XML Light Element.
Element() - Constructor for class com.softcorporation.xmllight.Element
Constructor.
Element(Element) - Constructor for class com.softcorporation.xmllight.Element
Constructor.
Element(String) - Constructor for class com.softcorporation.xmllight.Element
Constructor.
encode(String) - Static method in class com.softcorporation.xmllight.XMLLight
Encodes (escapes) XML entities in string.
encode(String, boolean) - Static method in class com.softcorporation.xmllight.XMLLight
Encodes (escapes) XML entities in string.
errorCode - Variable in class com.softcorporation.xmllight.Element
Error Code.

F

findClosingTag(String, String, int[], boolean) - Static method in class com.softcorporation.xmllight.XMLLight
Sets Element from input string representing XML Element with shift to the beginning of the element in the string.
findOpeningTag(String, String, int[], boolean) - Static method in class com.softcorporation.xmllight.XMLLight
Sets Element from input string representing XML Element with shift to the beginning of the element in the string.

G

getAttr(String) - Method in class com.softcorporation.xmllight.Element
Gets the attribute of the Element by it's name.
getAttr(String, String) - Method in class com.softcorporation.xmllight.Element
Gets the attribute of the Element by it's name.
getAttributes() - Method in class com.softcorporation.xmllight.Element
Returns Properties class containing all attributes of the Element.
getChildElem(String) - Method in class com.softcorporation.xmllight.Element
Searches the Element with elemName in the content only among direct children of the Element.
getChildText() - Method in class com.softcorporation.xmllight.Element
Returns the text presented in whole content of the Element.
getChildText(boolean) - Method in class com.softcorporation.xmllight.Element
Returns the text presented in whole content of the Element.
getCont() - Method in class com.softcorporation.xmllight.Element
Returns the content of the Element as a String.
getElem() - Method in class com.softcorporation.xmllight.Element
Returns the XMLLight Element from the content.
getElem(String) - Static method in class com.softcorporation.xmllight.XMLLight
Creates the XMLLight Element from the root element of XML document.
getElem(String) - Method in class com.softcorporation.xmllight.Element
Searches the Element with elemName in the content of the Element.
getElem(String, boolean) - Static method in class com.softcorporation.xmllight.XMLLight
Creates the XMLLight Element from the root element of XML document.
getElem(String, int, boolean) - Static method in class com.softcorporation.xmllight.XMLLight
Creates XMLLight Element from XML document starting from position defined in pos[0].
getElem(String, String) - Static method in class com.softcorporation.xmllight.XMLLight
Searches in XML Document for Element with name elemName and creates new XMLLight Element from XML document.
getElem(String, String, boolean) - Static method in class com.softcorporation.xmllight.XMLLight
Searches in XML Document for Element with name elemName and creates new XMLLight Element from XML document.
getElem(String, String, int, boolean) - Static method in class com.softcorporation.xmllight.XMLLight
Sets Element from input string representing XML Element with shift to the beginning of the element in the string.
getFirstElem(String) - Method in class com.softcorporation.xmllight.Element
Searches the element in the content starting from the beginning of the content and returns the Element.
getName() - Method in class com.softcorporation.xmllight.Element
Gets the name of the Element.
getPosition() - Method in class com.softcorporation.xmllight.XMLLightException
Constructor with all details.
getPosition() - Method in class com.softcorporation.xmllight.Element
Gets current position in the content of the Element.
getPosition(int) - Method in class com.softcorporation.xmllight.Element
Gets working positions in the content of the Element.
Working positions 0 is current position (same like getPosition()).
Working positions 1 is a beginning of found Element in the content.
getText() - Method in class com.softcorporation.xmllight.Element
Returns the text presented in the content of the Element from current position (see getPosition() for more) till the next child Element.
getText(boolean) - Method in class com.softcorporation.xmllight.Element
Returns the text presented in the content of the Element from current position (see getPosition() for more) till the next child Element.
getXMLDocument(Element) - Static method in class com.softcorporation.xmllight.XMLLight
Creates XML Document from XMLLight Element elem.

I

insCont(Element) - Method in class com.softcorporation.xmllight.Element
Inserts a string representation of the Element elem in the beginning of the content of the Element.
insCont(Element, int) - Method in class com.softcorporation.xmllight.Element
Inserts a string representation of the Element elem at the requested position in the content of the Element.
insCont(String) - Method in class com.softcorporation.xmllight.Element
Inserts a string in the beginning of the content of the Element.
insCont(String, int) - Method in class com.softcorporation.xmllight.Element
Inserts a string at the requested position in the content of the Element.
isNull() - Method in class com.softcorporation.xmllight.Element
Checks if the Element was just created and has not been set up yet.

R

remAttr(String) - Method in class com.softcorporation.xmllight.Element
Removes the attribute from the Element.
replace(String, char, String) - Static method in class com.softcorporation.xmllight.XMLLight
Replaces a character with string in source string.
resetPosition() - Method in class com.softcorporation.xmllight.Element
Sets current position to the beginning of the content.

S

setAttr(String, int) - Method in class com.softcorporation.xmllight.Element
Sets the attribute of the Element as int.
setAttr(String, String) - Method in class com.softcorporation.xmllight.Element
Sets the attribute of the Element.
setAttributes(Properties) - Method in class com.softcorporation.xmllight.Element
Sets Properties class containing all attributes for the Element.
setCont(String) - Method in class com.softcorporation.xmllight.Element
Sets the content of the Element.
setElem(String) - Method in class com.softcorporation.xmllight.Element
Sets Element from input string representing XML Element.
setElem(String, int) - Method in class com.softcorporation.xmllight.Element
Creates XMLLight Element from XML document starting from position defined in pos[0].
setElem(String, String) - Method in class com.softcorporation.xmllight.Element
Sets Element from input string representing XML Element with shift to the beginning of the element in the string.
setElem(String, String, int) - Method in class com.softcorporation.xmllight.Element
Sets Element from input string representing XML Element with shift to the beginning of the element in the string.
setLogWriter(PrintStream) - Static method in class com.softcorporation.xmllight.XMLLight
Sets log output.
setName(String) - Method in class com.softcorporation.xmllight.Element
Sets the name of the Element.
setPosition(int) - Method in class com.softcorporation.xmllight.Element
Sets current position in the content of the Element.
skipSpaces(String, int) - Static method in class com.softcorporation.xmllight.XMLLight
Skips spaces

T

toString() - Method in class com.softcorporation.xmllight.Element
Creates String representation of the Element.

V

validate - Variable in class com.softcorporation.xmllight.Element
Validation flag.

W

writeLog(Exception) - Static method in class com.softcorporation.xmllight.XMLLight
Prints log to the standard output (console) if debug = true.
writeLog(String) - Static method in class com.softcorporation.xmllight.XMLLight
Prints log to the standard output (console) if debug = true.

X

XML_DEFINITION - Static variable in class com.softcorporation.xmllight.XMLLight
 
XMLLight - class com.softcorporation.xmllight.XMLLight.
XML Light Utilities.
XMLLightException - exception com.softcorporation.xmllight.XMLLightException.
XML Light Utilities.
XMLLightException(int, int) - Constructor for class com.softcorporation.xmllight.XMLLightException
Constructor with all details.
XMLLightException(String) - Constructor for class com.softcorporation.xmllight.XMLLightException
Constructor with error message.

A C D E F G I R S T V W X