public override void unParse(TextWriter pw,
bool typeId,
string headingTag,
string endingTag)
{
#pragma warning disable 0168, 0219
int i;
#pragma warning restore 0168, 0219
if (headingTag == null) {
headingTag = "<Paragraph";
endingTag = "</Paragraph>";
}
pw.Write(headingTag);
if (typeId){
pw.Write(" xsi:type=\"Paragraph\"");
} // If
pw.Write('\n');
pw.Write(" id=\"");
acceptor.unParsePcData(pw, this.getId());
pw.Write('"');
pw.Write('\n');
if (this.getObsoleteGuid() != null){
pw.Write(" guid=\"");
acceptor.unParsePcData(pw, this.getObsoleteGuid());
pw.Write('"');
pw.Write('\n');
} // If
if (this.getType() != 0){
pw.Write(" type=\"");
acceptor.unParsePcData(pw,
acceptor.Enum_Paragraph_type_ToString(this.getType()));
pw.Write('"');
pw.Write('\n');
} // If
if (this.getObsoleteScope() != 0){
pw.Write(" scope=\"");
acceptor.unParsePcData(pw,
acceptor.Enum_Paragraph_scope_ToString(this.getObsoleteScope()));
pw.Write('"');
pw.Write('\n');
} // If
if (this.getBl() != null){
pw.Write(" bl=\"");
acceptor.unParsePcData(pw, this.getBl());
pw.Write('"');
pw.Write('\n');
} // If
if (!this.getOptional()){
pw.Write(" optional=\"");
acceptor.unParsePcData(pw, this.getOptional());
pw.Write('"');
pw.Write('\n');
} // If
if (this.getName() != null){
pw.Write(" name=\"");
acceptor.unParsePcData(pw, this.getName());
pw.Write('"');
pw.Write('\n');
} // If
if (this.getReviewed()){
pw.Write(" reviewed=\"");
acceptor.unParsePcData(pw, this.getReviewed());
pw.Write('"');
pw.Write('\n');
} // If
if (this.getImplementationStatus() != 0){
pw.Write(" status=\"");
acceptor.unParsePcData(pw,
acceptor.Enum_SPEC_IMPLEMENTED_ENUM_ToString(this.getImplementationStatus()));
pw.Write('"');
pw.Write('\n');
} // If
if (this.getTested()){
pw.Write(" tested=\"");
acceptor.unParsePcData(pw, this.getTested());
pw.Write('"');
pw.Write('\n');
} // If
if (this.getVersion() != null){
pw.Write(" version=\"");
acceptor.unParsePcData(pw, this.getVersion());
pw.Write('"');
pw.Write('\n');
} // If
if (this.getMoreInfoRequired()){
pw.Write(" infoRequired=\"");
acceptor.unParsePcData(pw, this.getMoreInfoRequired());
pw.Write('"');
pw.Write('\n');
} // If
if (this.getSpecIssue()){
pw.Write(" specIssue=\"");
acceptor.unParsePcData(pw, this.getSpecIssue());
pw.Write('"');
pw.Write('\n');
} // If
if (this.getObsoleteFunctionalBlock()){
pw.Write(" functionalBlock=\"");
acceptor.unParsePcData(pw, this.getObsoleteFunctionalBlock());
pw.Write('"');
pw.Write('\n');
} // If
if (this.getObsoleteFunctionalBlockName() != null){
pw.Write(" functionalBlockName=\"");
acceptor.unParsePcData(pw, this.getObsoleteFunctionalBlockName());
pw.Write('"');
pw.Write('\n');
} // If
if (this.getObsoleteScopeOnBoard()){
pw.Write(" onboard=\"");
acceptor.unParsePcData(pw, this.getObsoleteScopeOnBoard());
pw.Write('"');
pw.Write('\n');
} // If
if (this.getObsoleteScopeTrackside()){
pw.Write(" trackside=\"");
acceptor.unParsePcData(pw, this.getObsoleteScopeTrackside());
pw.Write('"');
pw.Write('\n');
} // If
if (this.getObsoleteScopeRollingStock()){
pw.Write(" rollinkstock=\"");
acceptor.unParsePcData(pw, this.getObsoleteScopeRollingStock());
pw.Write('"');
pw.Write('\n');
} // If
if (this.getName() != null){
pw.Write(" Name=\"");
acceptor.unParsePcData(pw, this.getName());
pw.Write('"');
pw.Write('\n');
} // If
if (this.getGuid() != null){
pw.Write(" Guid=\"");
acceptor.unParsePcData(pw, this.getGuid());
pw.Write('"');
pw.Write('\n');
} // If
if (this.getUpdates() != null){
pw.Write(" Updates=\"");
acceptor.unParsePcData(pw, this.getUpdates());
pw.Write('"');
pw.Write('\n');
} // If
if (this.getIsRemoved()){
pw.Write(" IsRemoved=\"");
acceptor.unParsePcData(pw, this.getIsRemoved());
pw.Write('"');
pw.Write('\n');
} // If
pw.Write('>');
unParseBody(pw);
pw.Write(endingTag);
}