public override void parse(XmlBContext ctxt, string endingTag)
{
#pragma warning disable 0168, 0219
int indicator = 0;
char quoteChar;
string tempStr = null;
bool fl784;
bool fl785;
bool fl786;
bool fl787;
bool fl788;
bool fl789;
bool fl790;
bool fl791;
bool fl792;
bool fl793;
bool fl794;
bool fl795;
bool fl796;
bool fl797;
bool fl798;
bool fl799;
bool fl800;
#pragma warning restore 0168, 0219
ctxt.skipWhiteSpace();
{
// Accept Attributes
fl784 = false ;
fl785 = false ;
fl786 = false ;
fl787 = false ;
fl788 = false ;
fl789 = false ;
fl790 = false ;
fl791 = false ;
fl792 = false ;
fl793 = false ;
fl794 = false ;
fl795 = false ;
fl796 = false ;
fl797 = false ;
fl798 = false ;
fl799 = false ;
fl800 = true ;
while (fl800) { // BeginLoop
switch (ctxt.current()) {
case 'Y':
{
ctxt.advance();
if (ctxt.lookAhead1('=')){
indicator = 788;
} else {
indicator = 801;
} // If
break;
} // Case
case 'X':
{
ctxt.advance();
if (ctxt.lookAhead1('=')){
indicator = 787;
} else {
indicator = 801;
} // If
break;
} // Case
case 'W':
{
ctxt.advance();
if (ctxt.lookAheadString("idth=")){
indicator = 789;
} else {
indicator = 801;
} // If
break;
} // Case
case 'V':
{
ctxt.advance();
if (ctxt.lookAheadString("erified=")){
indicator = 794;
} else {
indicator = 801;
} // If
break;
} // Case
case 'U':
{
ctxt.advance();
if (ctxt.lookAheadString("pdates=")){
indicator = 798;
} else {
indicator = 801;
} // If
break;
} // Case
case 'T':
{
ctxt.advance();
if (ctxt.lookAheadString("ypeName=")){
indicator = 784;
} else {
indicator = 801;
} // If
break;
} // Case
case 'P':
{
ctxt.advance();
if (ctxt.lookAheadString("inned=")){
indicator = 792;
} else {
indicator = 801;
} // If
break;
} // Case
case 'N':
{
ctxt.advance();
switch (ctxt.current()) {
case 'e':
{
ctxt.advance();
if (ctxt.lookAheadString("edsRequirement=")){
indicator = 795;
} else {
indicator = 801;
} // If
break;
} // Case
case 'a':
{
ctxt.advance();
if (ctxt.lookAhead3('m','e','=')){
indicator = 796;
} else {
indicator = 801;
} // If
break;
} // Case
default:
indicator = 801;
break;
} // Switch
break;
} // Case
case 'M':
{
ctxt.advance();
if (ctxt.lookAheadString("axSize=")){
indicator = 785;
} else {
indicator = 801;
} // If
break;
} // Case
case 'I':
{
ctxt.advance();
switch (ctxt.current()) {
case 's':
{
ctxt.advance();
if (ctxt.lookAheadString("Removed=")){
indicator = 799;
} else {
indicator = 801;
} // If
break;
} // Case
case 'm':
{
ctxt.advance();
if (ctxt.lookAheadString("plemented=")){
indicator = 793;
} else {
indicator = 801;
} // If
break;
} // Case
default:
indicator = 801;
break;
} // Switch
break;
} // Case
case 'H':
{
ctxt.advance();
switch (ctxt.current()) {
case 'i':
{
ctxt.advance();
if (ctxt.lookAheadString("dden=")){
indicator = 791;
} else {
indicator = 801;
} // If
break;
} // Case
case 'e':
{
ctxt.advance();
if (ctxt.lookAheadString("ight=")){
indicator = 790;
} else {
indicator = 801;
} // If
break;
} // Case
default:
indicator = 801;
break;
} // Switch
break;
} // Case
case 'G':
{
ctxt.advance();
if (ctxt.lookAheadString("uid=")){
indicator = 797;
} else {
indicator = 801;
} // If
break;
} // Case
case 'D':
{
ctxt.advance();
if (ctxt.lookAheadString("efault=")){
indicator = 786;
} else {
indicator = 801;
} // If
break;
} // Case
default:
indicator = 801;
break;
} // Switch
switch (indicator) {
case 784: {
// Handling attribute TypeName
// Also handles alien attributes with prefix TypeName
if (fl784){
ctxt.fail ("Duplicate attribute: TypeName");
} // If
fl784 = true ;
quoteChar = ctxt.acceptQuote();
this.setTypeName((acceptor.lAcceptPcData(ctxt,-1, quoteChar, XmlBContext.WS_PRESERVE)));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 785: {
// Handling attribute MaxSize
// Also handles alien attributes with prefix MaxSize
if (fl785){
ctxt.fail ("Duplicate attribute: MaxSize");
} // If
fl785 = true ;
quoteChar = ctxt.acceptQuote();
this.setMaxSize(ctxt.fetchInteger());
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 786: {
// Handling attribute Default
// Also handles alien attributes with prefix Default
if (fl786){
ctxt.fail ("Duplicate attribute: Default");
} // If
fl786 = true ;
quoteChar = ctxt.acceptQuote();
this.setDefault((acceptor.lAcceptPcData(ctxt,-1, quoteChar, XmlBContext.WS_PRESERVE)));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 787: {
// Handling attribute X
// Also handles alien attributes with prefix X
if (fl787){
ctxt.fail ("Duplicate attribute: X");
} // If
fl787 = true ;
quoteChar = ctxt.acceptQuote();
this.setX(ctxt.fetchInteger());
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 788: {
// Handling attribute Y
// Also handles alien attributes with prefix Y
if (fl788){
ctxt.fail ("Duplicate attribute: Y");
} // If
fl788 = true ;
quoteChar = ctxt.acceptQuote();
this.setY(ctxt.fetchInteger());
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 789: {
// Handling attribute Width
// Also handles alien attributes with prefix Width
if (fl789){
ctxt.fail ("Duplicate attribute: Width");
} // If
fl789 = true ;
quoteChar = ctxt.acceptQuote();
this.setWidth(ctxt.fetchInteger());
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 790: {
// Handling attribute Height
// Also handles alien attributes with prefix Height
if (fl790){
ctxt.fail ("Duplicate attribute: Height");
} // If
fl790 = true ;
quoteChar = ctxt.acceptQuote();
this.setHeight(ctxt.fetchInteger());
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 791: {
// Handling attribute Hidden
// Also handles alien attributes with prefix Hidden
if (fl791){
ctxt.fail ("Duplicate attribute: Hidden");
} // If
fl791 = true ;
quoteChar = ctxt.acceptQuote();
this.setHidden(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 792: {
// Handling attribute Pinned
// Also handles alien attributes with prefix Pinned
if (fl792){
ctxt.fail ("Duplicate attribute: Pinned");
} // If
fl792 = true ;
quoteChar = ctxt.acceptQuote();
this.setPinned(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 793: {
// Handling attribute Implemented
// Also handles alien attributes with prefix Implemented
if (fl793){
ctxt.fail ("Duplicate attribute: Implemented");
} // If
fl793 = true ;
quoteChar = ctxt.acceptQuote();
this.setImplemented(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 794: {
// Handling attribute Verified
// Also handles alien attributes with prefix Verified
if (fl794){
ctxt.fail ("Duplicate attribute: Verified");
} // If
fl794 = true ;
quoteChar = ctxt.acceptQuote();
this.setVerified(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 795: {
// Handling attribute NeedsRequirement
// Also handles alien attributes with prefix NeedsRequirement
if (fl795){
ctxt.fail ("Duplicate attribute: NeedsRequirement");
} // If
fl795 = true ;
quoteChar = ctxt.acceptQuote();
this.setNeedsRequirement(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 796: {
// Handling attribute Name
// Also handles alien attributes with prefix Name
if (fl796){
ctxt.fail ("Duplicate attribute: Name");
} // If
fl796 = true ;
quoteChar = ctxt.acceptQuote();
this.setName((acceptor.lAcceptPcData(ctxt,-1, quoteChar, XmlBContext.WS_PRESERVE)));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 797: {
// Handling attribute Guid
// Also handles alien attributes with prefix Guid
if (fl797){
ctxt.fail ("Duplicate attribute: Guid");
} // If
fl797 = true ;
quoteChar = ctxt.acceptQuote();
this.setGuid((acceptor.lAcceptPcData(ctxt,-1, quoteChar, XmlBContext.WS_PRESERVE)));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 798: {
// Handling attribute Updates
// Also handles alien attributes with prefix Updates
if (fl798){
ctxt.fail ("Duplicate attribute: Updates");
} // If
fl798 = true ;
quoteChar = ctxt.acceptQuote();
this.setUpdates((acceptor.lAcceptPcData(ctxt,-1, quoteChar, XmlBContext.WS_PRESERVE)));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 799: {
// Handling attribute IsRemoved
// Also handles alien attributes with prefix IsRemoved
if (fl799){
ctxt.fail ("Duplicate attribute: IsRemoved");
} // If
fl799 = true ;
quoteChar = ctxt.acceptQuote();
this.setIsRemoved(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
// Final default label
case 801: {
// Taking ignorable attributes into account
if (ctxt.isAlNum()){
ctxt.skipTill ('=');
ctxt.advance();
ctxt.skipWhiteSpace();
quoteChar = ctxt.acceptQuote();
ctxt.skipTill (quoteChar);
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
} else {
if (!fl784){
ctxt.fail ("Mandatory attribute missing: TypeName in Collection");
} // If
if (!fl785){
this.setMaxSize(10);
} // If
if (!fl787){
this.setX(-1);
} // If
if (!fl788){
this.setY(-1);
} // If
if (!fl789){
this.setWidth(0);
} // If
if (!fl790){
this.setHeight(0);
} // If
if (!fl791){
this.setHidden( false);
} // If
if (!fl792){
this.setPinned( false);
} // If
if (!fl793){
this.setImplemented( false);
} // If
if (!fl794){
this.setVerified( false);
} // If
if (!fl795){
this.setNeedsRequirement( true);
} // If
if (!fl799){
this.setIsRemoved( false);
} // If
fl800 = false ;
} // If
break;
} // End of dispatch label
} // Dispatch
} // While
}
ctxt.skipWhiteSpace();
if (ctxt.current() == '/'){
ctxt.advance();
ctxt.accept('>');
} else {
ctxt.accept('>');
parseBody(ctxt);
ctxt.acceptString(endingTag);
// If formula empty
} // If
}