* If this object is not an element, it is a complex type and the reader is at the event just after the outer start element
* Postcondition: If this object is an element, the reader is positioned at its end element
* If this object is a complex type, the reader is positioned at the end element of its outer element
*/
public static GetBSToOPSConnectionsE parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{
GetBSToOPSConnectionsE object =
new GetBSToOPSConnectionsE();
int event;
java.lang.String nillableValue = null;
java.lang.String prefix ="";
java.lang.String namespaceuri ="";
try {
while (!reader.isStartElement() && !reader.isEndElement())
reader.next();
// Note all attributes that were handled. Used to differ normal attributes
// from anyAttributes.
java.util.Vector handledAttributes = new java.util.Vector();
while(!reader.isEndElement()) {
if (reader.isStartElement() ){
if (reader.isStartElement() && new javax.xml.namespace.QName("http://apache.org/stonehenge/stocktrader/xsd","GetBSToOPSConnections").equals(reader.getName())){
object.setGetBSToOPSConnections(org.apache.stonehenge.stocktrader.config.xsd.GetBSToOPSConnections.Factory.parse(reader));
} // End of if for expected property start element
else{
// A start element we are not expecting indicates an invalid parameter was passed