public override void parse(XmlBContext ctxt, string endingTag)
{
#pragma warning disable 0168, 0219
int indicator = 0;
char quoteChar;
string tempStr = null;
bool fl1089;
bool fl1090;
bool fl1091;
bool fl1092;
bool fl1093;
bool fl1094;
bool fl1095;
bool fl1096;
bool fl1097;
bool fl1098;
bool fl1099;
bool fl1100;
bool fl1101;
bool fl1102;
bool fl1103;
bool fl1104;
bool fl1105;
#pragma warning restore 0168, 0219
ctxt.skipWhiteSpace();
{
// Accept Attributes
fl1089 = false ;
fl1090 = false ;
fl1091 = false ;
fl1092 = false ;
fl1093 = false ;
fl1094 = false ;
fl1095 = false ;
fl1096 = false ;
fl1097 = false ;
fl1098 = false ;
fl1099 = false ;
fl1100 = false ;
fl1101 = false ;
fl1102 = false ;
fl1103 = false ;
fl1104 = false ;
fl1105 = true ;
while (fl1105) { // BeginLoop
switch (ctxt.current()) {
case 'Y':
{
ctxt.advance();
if (ctxt.lookAhead1('=')){
indicator = 1093;
} else {
indicator = 1106;
} // If
break;
} // Case
case 'X':
{
ctxt.advance();
if (ctxt.lookAhead1('=')){
indicator = 1092;
} else {
indicator = 1106;
} // If
break;
} // Case
case 'W':
{
ctxt.advance();
if (ctxt.lookAheadString("idth=")){
indicator = 1094;
} else {
indicator = 1106;
} // If
break;
} // Case
case 'V':
{
ctxt.advance();
switch (ctxt.current()) {
case 'e':
{
ctxt.advance();
if (ctxt.lookAheadString("rified=")){
indicator = 1099;
} else {
indicator = 1106;
} // If
break;
} // Case
case 'a':
{
ctxt.advance();
if (ctxt.lookAheadString("riableMode=")){
indicator = 1091;
} else {
indicator = 1106;
} // If
break;
} // Case
default:
indicator = 1106;
break;
} // Switch
break;
} // Case
case 'U':
{
ctxt.advance();
if (ctxt.lookAheadString("pdates=")){
indicator = 1103;
} else {
indicator = 1106;
} // If
break;
} // Case
case 'T':
{
ctxt.advance();
if (ctxt.lookAheadString("ype=")){
indicator = 1089;
} else {
indicator = 1106;
} // If
break;
} // Case
case 'P':
{
ctxt.advance();
if (ctxt.lookAheadString("inned=")){
indicator = 1097;
} else {
indicator = 1106;
} // If
break;
} // Case
case 'N':
{
ctxt.advance();
switch (ctxt.current()) {
case 'e':
{
ctxt.advance();
if (ctxt.lookAheadString("edsRequirement=")){
indicator = 1100;
} else {
indicator = 1106;
} // If
break;
} // Case
case 'a':
{
ctxt.advance();
if (ctxt.lookAhead3('m','e','=')){
indicator = 1101;
} else {
indicator = 1106;
} // If
break;
} // Case
default:
indicator = 1106;
break;
} // Switch
break;
} // Case
case 'I':
{
ctxt.advance();
switch (ctxt.current()) {
case 's':
{
ctxt.advance();
if (ctxt.lookAheadString("Removed=")){
indicator = 1104;
} else {
indicator = 1106;
} // If
break;
} // Case
case 'm':
{
ctxt.advance();
if (ctxt.lookAheadString("plemented=")){
indicator = 1098;
} else {
indicator = 1106;
} // If
break;
} // Case
default:
indicator = 1106;
break;
} // Switch
break;
} // Case
case 'H':
{
ctxt.advance();
switch (ctxt.current()) {
case 'i':
{
ctxt.advance();
if (ctxt.lookAheadString("dden=")){
indicator = 1096;
} else {
indicator = 1106;
} // If
break;
} // Case
case 'e':
{
ctxt.advance();
if (ctxt.lookAheadString("ight=")){
indicator = 1095;
} else {
indicator = 1106;
} // If
break;
} // Case
default:
indicator = 1106;
break;
} // Switch
break;
} // Case
case 'G':
{
ctxt.advance();
if (ctxt.lookAheadString("uid=")){
indicator = 1102;
} else {
indicator = 1106;
} // If
break;
} // Case
case 'D':
{
ctxt.advance();
if (ctxt.lookAheadString("efaultValue=")){
indicator = 1090;
} else {
indicator = 1106;
} // If
break;
} // Case
default:
indicator = 1106;
break;
} // Switch
switch (indicator) {
case 1089: {
// Handling attribute Type
// Also handles alien attributes with prefix Type
if (fl1089){
ctxt.fail ("Duplicate attribute: Type");
} // If
fl1089 = 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 1090: {
// Handling attribute DefaultValue
// Also handles alien attributes with prefix DefaultValue
if (fl1090){
ctxt.fail ("Duplicate attribute: DefaultValue");
} // If
fl1090 = true ;
quoteChar = ctxt.acceptQuote();
this.setDefaultValue((acceptor.lAcceptPcData(ctxt,-1, quoteChar, XmlBContext.WS_PRESERVE)));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1091: {
// Handling attribute VariableMode
// Also handles alien attributes with prefix VariableMode
if (fl1091){
ctxt.fail ("Duplicate attribute: VariableMode");
} // If
fl1091 = true ;
quoteChar = ctxt.acceptQuote();
this.setVariableMode(acceptor.lAcceptEnum_VariableModeEnumType(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1092: {
// Handling attribute X
// Also handles alien attributes with prefix X
if (fl1092){
ctxt.fail ("Duplicate attribute: X");
} // If
fl1092 = true ;
quoteChar = ctxt.acceptQuote();
this.setX(ctxt.fetchInteger());
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1093: {
// Handling attribute Y
// Also handles alien attributes with prefix Y
if (fl1093){
ctxt.fail ("Duplicate attribute: Y");
} // If
fl1093 = true ;
quoteChar = ctxt.acceptQuote();
this.setY(ctxt.fetchInteger());
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1094: {
// Handling attribute Width
// Also handles alien attributes with prefix Width
if (fl1094){
ctxt.fail ("Duplicate attribute: Width");
} // If
fl1094 = true ;
quoteChar = ctxt.acceptQuote();
this.setWidth(ctxt.fetchInteger());
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1095: {
// Handling attribute Height
// Also handles alien attributes with prefix Height
if (fl1095){
ctxt.fail ("Duplicate attribute: Height");
} // If
fl1095 = true ;
quoteChar = ctxt.acceptQuote();
this.setHeight(ctxt.fetchInteger());
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1096: {
// Handling attribute Hidden
// Also handles alien attributes with prefix Hidden
if (fl1096){
ctxt.fail ("Duplicate attribute: Hidden");
} // If
fl1096 = true ;
quoteChar = ctxt.acceptQuote();
this.setHidden(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1097: {
// Handling attribute Pinned
// Also handles alien attributes with prefix Pinned
if (fl1097){
ctxt.fail ("Duplicate attribute: Pinned");
} // If
fl1097 = true ;
quoteChar = ctxt.acceptQuote();
this.setPinned(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1098: {
// Handling attribute Implemented
// Also handles alien attributes with prefix Implemented
if (fl1098){
ctxt.fail ("Duplicate attribute: Implemented");
} // If
fl1098 = true ;
quoteChar = ctxt.acceptQuote();
this.setImplemented(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1099: {
// Handling attribute Verified
// Also handles alien attributes with prefix Verified
if (fl1099){
ctxt.fail ("Duplicate attribute: Verified");
} // If
fl1099 = true ;
quoteChar = ctxt.acceptQuote();
this.setVerified(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1100: {
// Handling attribute NeedsRequirement
// Also handles alien attributes with prefix NeedsRequirement
if (fl1100){
ctxt.fail ("Duplicate attribute: NeedsRequirement");
} // If
fl1100 = true ;
quoteChar = ctxt.acceptQuote();
this.setNeedsRequirement(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1101: {
// Handling attribute Name
// Also handles alien attributes with prefix Name
if (fl1101){
ctxt.fail ("Duplicate attribute: Name");
} // If
fl1101 = 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 1102: {
// Handling attribute Guid
// Also handles alien attributes with prefix Guid
if (fl1102){
ctxt.fail ("Duplicate attribute: Guid");
} // If
fl1102 = 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 1103: {
// Handling attribute Updates
// Also handles alien attributes with prefix Updates
if (fl1103){
ctxt.fail ("Duplicate attribute: Updates");
} // If
fl1103 = 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 1104: {
// Handling attribute IsRemoved
// Also handles alien attributes with prefix IsRemoved
if (fl1104){
ctxt.fail ("Duplicate attribute: IsRemoved");
} // If
fl1104 = true ;
quoteChar = ctxt.acceptQuote();
this.setIsRemoved(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
// Final default label
case 1106: {
// 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 (!fl1091){
this.setVariableMode(acceptor.VariableModeEnumType.aInternal);
} // If
if (!fl1092){
this.setX(-1);
} // If
if (!fl1093){
this.setY(-1);
} // If
if (!fl1094){
this.setWidth(0);
} // If
if (!fl1095){
this.setHeight(0);
} // If
if (!fl1096){
this.setHidden( false);
} // If
if (!fl1097){
this.setPinned( false);
} // If
if (!fl1098){
this.setImplemented( false);
} // If
if (!fl1099){
this.setVerified( false);
} // If
if (!fl1100){
this.setNeedsRequirement( true);
} // If
if (!fl1104){
this.setIsRemoved( false);
} // If
fl1105 = 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
}