public override void parse(XmlBContext ctxt, string endingTag)
{
#pragma warning disable 0168, 0219
int indicator = 0;
char quoteChar;
string tempStr = null;
bool fl1009;
bool fl1010;
bool fl1011;
bool fl1012;
bool fl1013;
bool fl1014;
bool fl1015;
bool fl1016;
bool fl1017;
bool fl1018;
bool fl1019;
bool fl1020;
bool fl1021;
bool fl1022;
bool fl1023;
bool fl1024;
#pragma warning restore 0168, 0219
ctxt.skipWhiteSpace();
{
// Accept Attributes
fl1009 = false ;
fl1010 = false ;
fl1011 = false ;
fl1012 = false ;
fl1013 = false ;
fl1014 = false ;
fl1015 = false ;
fl1016 = false ;
fl1017 = false ;
fl1018 = false ;
fl1019 = false ;
fl1020 = false ;
fl1021 = false ;
fl1022 = false ;
fl1023 = false ;
fl1024 = true ;
while (fl1024) { // BeginLoop
switch (ctxt.current()) {
case 'Y':
{
ctxt.advance();
if (ctxt.lookAhead1('=')){
indicator = 1012;
} else {
indicator = 1025;
} // If
break;
} // Case
case 'X':
{
ctxt.advance();
if (ctxt.lookAhead1('=')){
indicator = 1011;
} else {
indicator = 1025;
} // If
break;
} // Case
case 'W':
{
ctxt.advance();
if (ctxt.lookAheadString("idth=")){
indicator = 1013;
} else {
indicator = 1025;
} // If
break;
} // Case
case 'V':
{
ctxt.advance();
if (ctxt.lookAheadString("erified=")){
indicator = 1018;
} else {
indicator = 1025;
} // If
break;
} // Case
case 'U':
{
ctxt.advance();
if (ctxt.lookAheadString("pdates=")){
indicator = 1022;
} else {
indicator = 1025;
} // If
break;
} // Case
case 'P':
{
ctxt.advance();
if (ctxt.lookAheadString("inned=")){
indicator = 1016;
} else {
indicator = 1025;
} // If
break;
} // Case
case 'N':
{
ctxt.advance();
switch (ctxt.current()) {
case 'e':
{
ctxt.advance();
if (ctxt.lookAheadString("edsRequirement=")){
indicator = 1019;
} else {
indicator = 1025;
} // If
break;
} // Case
case 'a':
{
ctxt.advance();
if (ctxt.lookAhead3('m','e','=')){
indicator = 1020;
} else {
indicator = 1025;
} // If
break;
} // Case
default:
indicator = 1025;
break;
} // Switch
break;
} // Case
case 'I':
{
ctxt.advance();
switch (ctxt.current()) {
case 's':
{
ctxt.advance();
if (ctxt.lookAheadString("Removed=")){
indicator = 1023;
} else {
indicator = 1025;
} // If
break;
} // Case
case 'n':
{
ctxt.advance();
if (ctxt.lookAheadString("itialState=")){
indicator = 1009;
} else {
indicator = 1025;
} // If
break;
} // Case
case 'm':
{
ctxt.advance();
if (ctxt.lookAheadString("plemented=")){
indicator = 1017;
} else {
indicator = 1025;
} // If
break;
} // Case
default:
indicator = 1025;
break;
} // Switch
break;
} // Case
case 'H':
{
ctxt.advance();
switch (ctxt.current()) {
case 'i':
{
ctxt.advance();
if (ctxt.lookAheadString("dden=")){
indicator = 1015;
} else {
indicator = 1025;
} // If
break;
} // Case
case 'e':
{
ctxt.advance();
if (ctxt.lookAheadString("ight=")){
indicator = 1014;
} else {
indicator = 1025;
} // If
break;
} // Case
default:
indicator = 1025;
break;
} // Switch
break;
} // Case
case 'G':
{
ctxt.advance();
if (ctxt.lookAheadString("uid=")){
indicator = 1021;
} else {
indicator = 1025;
} // If
break;
} // Case
case 'D':
{
ctxt.advance();
if (ctxt.lookAheadString("efault=")){
indicator = 1010;
} else {
indicator = 1025;
} // If
break;
} // Case
default:
indicator = 1025;
break;
} // Switch
switch (indicator) {
case 1009: {
// Handling attribute InitialState
// Also handles alien attributes with prefix InitialState
if (fl1009){
ctxt.fail ("Duplicate attribute: InitialState");
} // If
fl1009 = true ;
quoteChar = ctxt.acceptQuote();
this.setInitialState((acceptor.lAcceptPcData(ctxt,-1, quoteChar, XmlBContext.WS_PRESERVE)));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1010: {
// Handling attribute Default
// Also handles alien attributes with prefix Default
if (fl1010){
ctxt.fail ("Duplicate attribute: Default");
} // If
fl1010 = 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 1011: {
// Handling attribute X
// Also handles alien attributes with prefix X
if (fl1011){
ctxt.fail ("Duplicate attribute: X");
} // If
fl1011 = true ;
quoteChar = ctxt.acceptQuote();
this.setX(ctxt.fetchInteger());
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1012: {
// Handling attribute Y
// Also handles alien attributes with prefix Y
if (fl1012){
ctxt.fail ("Duplicate attribute: Y");
} // If
fl1012 = true ;
quoteChar = ctxt.acceptQuote();
this.setY(ctxt.fetchInteger());
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1013: {
// Handling attribute Width
// Also handles alien attributes with prefix Width
if (fl1013){
ctxt.fail ("Duplicate attribute: Width");
} // If
fl1013 = true ;
quoteChar = ctxt.acceptQuote();
this.setWidth(ctxt.fetchInteger());
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1014: {
// Handling attribute Height
// Also handles alien attributes with prefix Height
if (fl1014){
ctxt.fail ("Duplicate attribute: Height");
} // If
fl1014 = true ;
quoteChar = ctxt.acceptQuote();
this.setHeight(ctxt.fetchInteger());
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1015: {
// Handling attribute Hidden
// Also handles alien attributes with prefix Hidden
if (fl1015){
ctxt.fail ("Duplicate attribute: Hidden");
} // If
fl1015 = true ;
quoteChar = ctxt.acceptQuote();
this.setHidden(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1016: {
// Handling attribute Pinned
// Also handles alien attributes with prefix Pinned
if (fl1016){
ctxt.fail ("Duplicate attribute: Pinned");
} // If
fl1016 = true ;
quoteChar = ctxt.acceptQuote();
this.setPinned(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1017: {
// Handling attribute Implemented
// Also handles alien attributes with prefix Implemented
if (fl1017){
ctxt.fail ("Duplicate attribute: Implemented");
} // If
fl1017 = true ;
quoteChar = ctxt.acceptQuote();
this.setImplemented(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1018: {
// Handling attribute Verified
// Also handles alien attributes with prefix Verified
if (fl1018){
ctxt.fail ("Duplicate attribute: Verified");
} // If
fl1018 = true ;
quoteChar = ctxt.acceptQuote();
this.setVerified(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1019: {
// Handling attribute NeedsRequirement
// Also handles alien attributes with prefix NeedsRequirement
if (fl1019){
ctxt.fail ("Duplicate attribute: NeedsRequirement");
} // If
fl1019 = true ;
quoteChar = ctxt.acceptQuote();
this.setNeedsRequirement(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1020: {
// Handling attribute Name
// Also handles alien attributes with prefix Name
if (fl1020){
ctxt.fail ("Duplicate attribute: Name");
} // If
fl1020 = 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 1021: {
// Handling attribute Guid
// Also handles alien attributes with prefix Guid
if (fl1021){
ctxt.fail ("Duplicate attribute: Guid");
} // If
fl1021 = 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 1022: {
// Handling attribute Updates
// Also handles alien attributes with prefix Updates
if (fl1022){
ctxt.fail ("Duplicate attribute: Updates");
} // If
fl1022 = 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 1023: {
// Handling attribute IsRemoved
// Also handles alien attributes with prefix IsRemoved
if (fl1023){
ctxt.fail ("Duplicate attribute: IsRemoved");
} // If
fl1023 = true ;
quoteChar = ctxt.acceptQuote();
this.setIsRemoved(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
// Final default label
case 1025: {
// 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 (!fl1011){
this.setX(-1);
} // If
if (!fl1012){
this.setY(-1);
} // If
if (!fl1013){
this.setWidth(0);
} // If
if (!fl1014){
this.setHeight(0);
} // If
if (!fl1015){
this.setHidden( false);
} // If
if (!fl1016){
this.setPinned( false);
} // If
if (!fl1017){
this.setImplemented( false);
} // If
if (!fl1018){
this.setVerified( false);
} // If
if (!fl1019){
this.setNeedsRequirement( true);
} // If
if (!fl1023){
this.setIsRemoved( false);
} // If
fl1024 = 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
}