|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.rview.DefinitionFileHandler
public class DefinitionFileHandler
This class contains a set of static methods that allow relational view definition files to be manipulated programmatically (that is, without creating an actual text version of the definition file).
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Constructor Summary | |
---|---|
DefinitionFileHandler()
|
Method Summary | |
---|---|
static DefinitionFile |
combineDefinitionFiles(DefinitionFile[] pFiles)
Returns a new DefinitionFile containing the RelationalViewDefinitions and ResultSetProcessorDefinitions found in the given definition files. |
static void |
main(java.lang.String[] pArgs)
|
static DefinitionFile |
parseDefinitionFile(java.io.File pFile)
Parses a DefinitionFile from the given File |
static DefinitionFile |
parseDefinitionFile(java.io.InputStream pIn)
Parses a DefinitionFile from the given input stream |
static DefinitionFile |
parseXMLDefinitionFile(java.io.File pFile)
Parses a DefinitionFile from the given XML-formatted file |
static DefinitionFile |
parseXMLDefinitionFile(java.io.InputStream pIn)
Parses a DefinitionFile from the given XML-formatted file |
static void |
printDefinitionFile(DefinitionFile pFile,
java.io.PrintStream pOut)
Prints the specified DefinitionFile to the specified PrintStream in text form. |
static void |
printXMLDefinitionFile(DefinitionFile pFile,
java.io.PrintStream pOut)
Prints the specified DefinitionFile to the specified PrintStream in text form using the XML format. |
static java.lang.String[] |
verifyDefinitionFile(DefinitionFile pFile)
Checks a definition file for semantic problems, and returns an array of the problems that it finds, where each element of the array is a separate problem. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public DefinitionFileHandler()
Method Detail |
---|
public static DefinitionFile parseDefinitionFile(java.io.InputStream pIn) throws RelationalViewException
RelationalViewException
public static DefinitionFile parseDefinitionFile(java.io.File pFile) throws RelationalViewException, java.io.IOException
RelationalViewException
java.io.IOException
public static DefinitionFile parseXMLDefinitionFile(java.io.InputStream pIn) throws RelationalViewException, java.io.IOException
RelationalViewException
java.io.IOException
public static DefinitionFile parseXMLDefinitionFile(java.io.File pFile) throws RelationalViewException, java.io.IOException
RelationalViewException
java.io.IOException
public static DefinitionFile combineDefinitionFiles(DefinitionFile[] pFiles)
public static void printXMLDefinitionFile(DefinitionFile pFile, java.io.PrintStream pOut)
public static void printDefinitionFile(DefinitionFile pFile, java.io.PrintStream pOut)
public static java.lang.String[] verifyDefinitionFile(DefinitionFile pFile)
public static void main(java.lang.String[] pArgs) throws RelationalViewException
RelationalViewException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |