@Override public void endTag(Name name) throws IOException { if(closeStartTagPending) { write(EMPTY_TAG); closeStartTagPending = false; } else { write(CLOSE_TAG); writeName(name); write('>'); } }
public void endTag(int prefix, String localName) throws IOException { if(closeStartTagPending) { write(EMPTY_TAG); closeStartTagPending = false; } else { write(CLOSE_TAG); writeName(prefix,localName); write('>'); } }
public void beginStartTag(int prefix, String localName) throws IOException { closeStartTag(); int base= pushNsDecls(); write('<'); writeName(prefix,localName); writeNsDecls(base); }
@Override public void beginStartTag(Name name) throws IOException { closeStartTag(); int base = pushNsDecls(); write('<'); writeName(name); writeNsDecls(base); }
@Override public void attribute(Name name, String value) throws IOException { write(' '); if(name.nsUriIndex==-1) { localNames[name.localNameIndex].write(this); } else writeName(name); write(EQUALS); doText(value,true); write('\"'); }
public void attribute(int prefix, String localName, String value) throws IOException { write(' '); if(prefix==-1) { textBuffer.set(localName); textBuffer.write(this); } else writeName(prefix,localName); write(EQUALS); doText(value,true); write('\"'); }
public void endTag(int prefix, String localName) throws IOException { if(closeStartTagPending) { write(EMPTY_TAG); closeStartTagPending = false; } else { write(CLOSE_TAG); writeName(prefix,localName); write('>'); } }
@Override public void endTag(Name name) throws IOException { if(closeStartTagPending) { write(EMPTY_TAG); closeStartTagPending = false; } else { write(CLOSE_TAG); writeName(name); write('>'); } }
@Override public void beginStartTag(Name name) throws IOException { closeStartTag(); int base = pushNsDecls(); write('<'); writeName(name); writeNsDecls(base); }
public void beginStartTag(int prefix, String localName) throws IOException { closeStartTag(); int base= pushNsDecls(); write('<'); writeName(prefix,localName); writeNsDecls(base); }
@Override public void attribute(Name name, String value) throws IOException { write(' '); if(name.nsUriIndex==-1) { localNames[name.localNameIndex].write(this); } else writeName(name); write(EQUALS); doText(value,true); write('\"'); }
public void attribute(int prefix, String localName, String value) throws IOException { write(' '); if(prefix==-1) { textBuffer.set(localName); textBuffer.write(this); } else writeName(prefix,localName); write(EQUALS); doText(value,true); write('\"'); }
public void endTag(int prefix, String localName) throws IOException { if(closeStartTagPending) { write(EMPTY_TAG); closeStartTagPending = false; } else { write(CLOSE_TAG); writeName(prefix,localName); write('>'); } }
public void endTag(int prefix, String localName) throws IOException { if(closeStartTagPending) { write(EMPTY_TAG); closeStartTagPending = false; } else { write(CLOSE_TAG); writeName(prefix,localName); write('>'); } }
@Override public void endTag(Name name) throws IOException { if(closeStartTagPending) { write(EMPTY_TAG); closeStartTagPending = false; } else { write(CLOSE_TAG); writeName(name); write('>'); } }
@Override public void beginStartTag(Name name) throws IOException { closeStartTag(); int base = pushNsDecls(); write('<'); writeName(name); writeNsDecls(base); }
public void beginStartTag(int prefix, String localName) throws IOException { closeStartTag(); int base= pushNsDecls(); write('<'); writeName(prefix,localName); writeNsDecls(base); }
public void beginStartTag(int prefix, String localName) throws IOException { closeStartTag(); int base= pushNsDecls(); write('<'); writeName(prefix,localName); writeNsDecls(base); }
@Override public void attribute(Name name, String value) throws IOException { write(' '); if(name.nsUriIndex==-1) { localNames[name.localNameIndex].write(this); } else writeName(name); write(EQUALS); doText(value,true); write('\"'); }
public void attribute(int prefix, String localName, String value) throws IOException { write(' '); if(prefix==-1) { textBuffer.set(localName); textBuffer.write(this); } else writeName(prefix,localName); write(EQUALS); doText(value,true); write('\"'); }