home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.xml;
-
- public class XSDLWriter$NotationProxy extends XSDLWriter.DeclProxy {
- // $FF: synthetic field
- final XSDLWriter this$0;
- NotationDeclaration decl;
-
- XSDLWriter$NotationProxy(XSDLWriter var1) {
- super(var1);
- this.this$0 = var1;
- }
-
- XSDLWriter$NotationProxy(XSDLWriter var1, NotationDeclaration var2) {
- super(var1);
- this.this$0 = var1;
- this.setDecl(var2);
- }
-
- void setDecl(NotationDeclaration var1) {
- this.decl = var1;
- super.setDecl(var1);
- }
-
- public void write(SXE var1, boolean var2) {
- var1.writeElem("notation");
- var1.writeAttr("name", this.decl.getName());
- if (this.decl.getPublicID() != null) {
- var1.writeAttr("public", this.this$0.schema.expandPERefs(this.decl.getPublicID(), this.decl));
- }
-
- if (this.decl.getSystemID() != null) {
- var1.writeAttr("system", this.this$0.schema.expandPERefs(this.decl.getSystemID().toSource(), this.decl));
- }
-
- var1.flush("notation");
- }
- }
-