Пример #1
0
 /**
  * Makes an XML text representation.
  *
  * @param buffer
  */
 public void makeTextElement(PrintWriter buffer) {
   int size;
   buffer.print("<legal");
   if (id_ != null) {
     buffer.print(" id=\"");
     buffer.print(URelaxer.escapeAttrQuot(URelaxer.getString(getId())));
     buffer.print("\"");
   }
   if (xmlLang_ != null) {
     buffer.print(" xml:lang=\"");
     buffer.print(URelaxer.escapeAttrQuot(URelaxer.getString(getXmlLang())));
     buffer.print("\"");
   }
   size = this.content_.size();
   for (int i = 0; i < size; i++) {
     IFtContentMixMixed value = (IFtContentMixMixed) this.content_.get(i);
     value.makeTextAttribute(buffer);
   }
   buffer.print(">");
   size = this.content_.size();
   for (int i = 0; i < size; i++) {
     IFtContentMixMixed value = (IFtContentMixMixed) this.content_.get(i);
     value.makeTextElement(buffer);
   }
   buffer.print("</legal>");
 }
 /**
  * Makes a XML text representation.
  *
  * @param buffer
  */
 public void makeTextElement(PrintWriter buffer) {
   int size;
   String prefix =
       rNSContext_.getPrefixByUri("http://www.iso_relax.org/xmlns/miaou/binaryTreeAutomaton");
   buffer.print("<");
   URelaxer.makeQName(prefix, "nonExistentAttributeTransition", buffer);
   rNSContext_.makeNSMappings(buffer);
   buffer.print(" ");
   buffer.print("target");
   buffer.print("=\"");
   buffer.print(URelaxer.getString(getTarget()));
   buffer.print("\"");
   buffer.print(" ");
   buffer.print("nameClass");
   buffer.print("=\"");
   buffer.print(URelaxer.getString(getNameClass()));
   buffer.print("\"");
   if (exceptNameClass_ != null) {
     buffer.print(" ");
     buffer.print("exceptNameClass");
     buffer.print("=\"");
     buffer.print(URelaxer.getString(getExceptNameClass()));
     buffer.print("\"");
   }
   buffer.print(" ");
   buffer.print("right");
   buffer.print("=\"");
   buffer.print(URelaxer.getString(getRight()));
   buffer.print("\"");
   buffer.print(">");
   buffer.print("</");
   URelaxer.makeQName(prefix, "nonExistentAttributeTransition", buffer);
   buffer.print(">");
 }
Пример #3
0
 /**
  * Makes an XML text representation.
  *
  * @param buffer
  * @exception IOException
  */
 public void makeTextElement(Writer buffer) throws IOException {
   int size;
   buffer.write("<fixme");
   if (author_ != null) {
     buffer.write(" author=\"");
     buffer.write(URelaxer.escapeAttrQuot(URelaxer.getString(getAuthor())));
     buffer.write("\"");
   }
   if (id_ != null) {
     buffer.write(" id=\"");
     buffer.write(URelaxer.escapeAttrQuot(URelaxer.getString(getId())));
     buffer.write("\"");
   }
   if (xmlLang_ != null) {
     buffer.write(" xml:lang=\"");
     buffer.write(URelaxer.escapeAttrQuot(URelaxer.getString(getXmlLang())));
     buffer.write("\"");
   }
   size = this.content_.size();
   for (int i = 0; i < size; i++) {
     IFdContentMixMixed value = (IFdContentMixMixed) this.content_.get(i);
     value.makeTextAttribute(buffer);
   }
   buffer.write(">");
   size = this.content_.size();
   for (int i = 0; i < size; i++) {
     IFdContentMixMixed value = (IFdContentMixMixed) this.content_.get(i);
     value.makeTextElement(buffer);
   }
   buffer.write("</fixme>");
 }
Пример #4
0
 /**
  * Makes an XML text representation.
  *
  * @param buffer
  */
 public void makeTextElement(PrintWriter buffer) {
   int size;
   buffer.print("<authors");
   if (id_ != null) {
     buffer.print(" id=\"");
     buffer.print(URelaxer.escapeAttrQuot(URelaxer.getString(getId())));
     buffer.print("\"");
   }
   if (xmlLang_ != null) {
     buffer.print(" xml:lang=\"");
     buffer.print(URelaxer.escapeAttrQuot(URelaxer.getString(getXmlLang())));
     buffer.print("\"");
   }
   buffer.print(">");
   size = this.person_.size();
   for (int i = 0; i < size; i++) {
     FtPerson value = (FtPerson) this.person_.get(i);
     value.makeTextElement(buffer);
   }
   buffer.print("</authors>");
 }
 /**
  * Makes a XML text representation.
  *
  * @param buffer
  */
 public void makeTextElement(PrintWriter buffer) {
   int size;
   String prefix =
       rNSContext_.getPrefixByUri("http://www.iso_relax.org/xmlns/miaou/binaryTreeAutomaton");
   buffer.print("<");
   URelaxer.makeQName(prefix, "textTransition", buffer);
   rNSContext_.makeNSMappings(buffer);
   buffer.print(" ");
   buffer.print("target");
   buffer.print("=\"");
   buffer.print(URelaxer.getString(getTarget()));
   buffer.print("\"");
   buffer.print(" ");
   buffer.print("right");
   buffer.print("=\"");
   buffer.print(URelaxer.getString(getRight()));
   buffer.print("\"");
   buffer.print(">");
   buffer.print("</");
   URelaxer.makeQName(prefix, "textTransition", buffer);
   buffer.print(">");
 }
Пример #6
0
 /**
  * Makes an XML text representation.
  *
  * @param buffer
  */
 public void makeTextElement(PrintWriter buffer) {
   int size;
   buffer.print("<header");
   if (id_ != null) {
     buffer.print(" id=\"");
     buffer.print(URelaxer.escapeAttrQuot(URelaxer.getString(getId())));
     buffer.print("\"");
   }
   if (xmlLang_ != null) {
     buffer.print(" xml:lang=\"");
     buffer.print(URelaxer.escapeAttrQuot(URelaxer.getString(getXmlLang())));
     buffer.print("\"");
   }
   buffer.print(">");
   title_.makeTextElement(buffer);
   if (subtitle_ != null) {
     subtitle_.makeTextElement(buffer);
   }
   if (version_ != null) {
     version_.makeTextElement(buffer);
   }
   if (type_ != null) {
     type_.makeTextElement(buffer);
   }
   if (authors_ != null) {
     authors_.makeTextElement(buffer);
   }
   size = this.notice_.size();
   for (int i = 0; i < size; i++) {
     FtNotice value = (FtNotice) this.notice_.get(i);
     value.makeTextElement(buffer);
   }
   if (abstract_ != null) {
     abstract_.makeTextElement(buffer);
   }
   buffer.print("</header>");
 }
Пример #7
0
 /**
  * Makes an XML text representation.
  *
  * @param buffer
  */
 public void makeTextElement(PrintWriter buffer) {
   int size;
   buffer.print("<table");
   if (id_ != null) {
     buffer.print(" id=\"");
     buffer.print(URelaxer.escapeAttrQuot(URelaxer.getString(getId())));
     buffer.print("\"");
   }
   if (xmlLang_ != null) {
     buffer.print(" xml:lang=\"");
     buffer.print(URelaxer.escapeAttrQuot(URelaxer.getString(getXmlLang())));
     buffer.print("\"");
   }
   buffer.print(">");
   if (caption_ != null) {
     caption_.makeTextElement(buffer);
   }
   size = this.tr_.size();
   for (int i = 0; i < size; i++) {
     FcTr value = (FcTr) this.tr_.get(i);
     value.makeTextElement(buffer);
   }
   buffer.print("</table>");
 }
 /**
  * Gets the property value as String.
  *
  * @return String
  */
 public String getRightAsString() {
   return (URelaxer.getString(getRight()));
 }
 /**
  * Gets the property value as String.
  *
  * @return String
  */
 public String getTargetAsString() {
   return (URelaxer.getString(getTarget()));
 }
Пример #10
0
 /**
  * Gets the property value as String.
  *
  * @return String
  */
 public String getXmlLangAsString() {
   return (URelaxer.getString(getXmlLang()));
 }
Пример #11
0
 /**
  * Gets the property value as String.
  *
  * @return String
  */
 public String getIdAsString() {
   return (URelaxer.getString(getId()));
 }
 /**
  * Gets the property value as String.
  *
  * @return String
  */
 public String getExceptNameClassAsString() {
   return (URelaxer.getString(getExceptNameClass()));
 }
Пример #13
0
 /**
  * Gets the property value as String.
  *
  * @return String
  */
 public String getAuthorAsString() {
   return (URelaxer.getString(getAuthor()));
 }