com.arsdigita.dmi
Class ProductXMLInterpreter

java.lang.Object
  extended bycom.arsdigita.dmi.ProductXMLInterpreter
All Implemented Interfaces:
XMLInterpreter

public class ProductXMLInterpreter
extends Object
implements XMLInterpreter


Field Summary
static String versionId
           
 
Constructor Summary
ProductXMLInterpreter()
           
 
Method Summary
 String getCurrentVersion()
           
 String[] getDatabase()
           
 String getError()
           
 String getInstallFile(String database)
           
 String getProductDescription()
           
 String getProductName()
           
 ApplicationVersion[] getVersions(String database)
           
 void push(org.w3c.dom.Node n)
          A push is executed when a node has more than one child.
 void reduce(String node)
          A reduce is executed at the end of a pushed node.
 void shift(String node, String value)
          A shift is executed when a node contains a single #text child, and no attributes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

ProductXMLInterpreter

public ProductXMLInterpreter()
Method Detail

shift

public void shift(String node,
                  String value)
A shift is executed when a node contains a single #text child, and no attributes. This node is not pushed or reduced.

Specified by:
shift in interface XMLInterpreter

reduce

public void reduce(String node)
A reduce is executed at the end of a pushed node.

Specified by:
reduce in interface XMLInterpreter

push

public void push(org.w3c.dom.Node n)
A push is executed when a node has more than one child. The effect of a push is to put a part of the interpreter in scope, and may cause a dispatch to another XMLInterpreter.

Specified by:
push in interface XMLInterpreter

getError

public String getError()

getProductName

public String getProductName()

getProductDescription

public String getProductDescription()

getCurrentVersion

public String getCurrentVersion()

getDatabase

public String[] getDatabase()

getInstallFile

public String getInstallFile(String database)

getVersions

public ApplicationVersion[] getVersions(String database)


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC