/** * 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(">"); }
/** * Makes a XML text representation. * * @param buffer */ public void makeTextElement(PrintWriter buffer) { int size; String prefix = rNSContext_.getPrefixByUri("http://www.asahi-net.or.jp/~cs8k-cyu/bulletml"); buffer.print("<"); URelaxer.makeQName(prefix, "direction", buffer); rNSContext_.makeNSMappings(buffer); if (type_ != null) { buffer.print(" "); buffer.print("type"); buffer.print("=\""); buffer.print(URelaxer.escapeAttrQuot(getType())); buffer.print("\""); } buffer.print(">"); buffer.print("</"); URelaxer.makeQName(prefix, "direction", buffer); buffer.print(">"); }
/** * 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(">"); }
public void makeQName(String uri, String localName, PrintWriter buffer) { URelaxer.makeQName(getPrefixByUri(uri), localName, buffer); }