|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.sfx.SFXFileReader
public class SFXFileReader
| Constructor Summary | |
|---|---|
SFXFileReader()
|
|
| Method Summary | |
|---|---|
static String |
doNodes(Node node,
Item item)
Process the item. |
static String |
getAttribute(Node e,
String name)
Returns the value of the node's attribute named |
static Node |
getElement(Node node)
Returns element node |
static String |
getValue(Node node)
Returns the value found in the Text node (if any) in the node list that's passed in. |
static boolean |
isEmptyTextNode(Node nd)
Is Empty text Node |
static String |
loadSFXFile(String fileName,
Item item)
Loads the SFX configuraiton file |
static Document |
parseFile(String fileName)
Parses XML file and returns XML document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SFXFileReader()
| Method Detail |
|---|
public static String loadSFXFile(String fileName,
Item item)
throws IOException
fileName - The name of the SFX configuration fileitem - The item to process
IOExceptionpublic static Document parseFile(String fileName)
fileName - XML file to parse
public static String doNodes(Node node,
Item item)
throws IOException
node - item -
IOExceptionpublic static Node getElement(Node node)
node - element (it is XML tag)
public static boolean isEmptyTextNode(Node nd)
public static String getAttribute(Node e,
String name)
public static String getValue(Node node)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||