X-Git-Url: http://git.osdn.net/view?p=mikutoga%2FTogaGem.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fjp%2Fsourceforge%2Fmikutoga%2Fxml%2FProxyXmlExporter.java;h=20af5f1dbd298b3ac11b18ee1abc499ffe4b6c19;hp=c1934eab46ab7018067cd6da39b232d046dce5fc;hb=ece235c5e686680fd00b6923d48e44b341eb4718;hpb=5c3f1fc51320232202c5751049c4e89d2a0da123 diff --git a/src/main/java/jp/sourceforge/mikutoga/xml/ProxyXmlExporter.java b/src/main/java/jp/sourceforge/mikutoga/xml/ProxyXmlExporter.java index c1934ea..20af5f1 100644 --- a/src/main/java/jp/sourceforge/mikutoga/xml/ProxyXmlExporter.java +++ b/src/main/java/jp/sourceforge/mikutoga/xml/ProxyXmlExporter.java @@ -19,11 +19,11 @@ public class ProxyXmlExporter extends AbstractXmlExporter{ /** * コンストラクタ。 - * @param proxy 委譲先 + * @param delegate 委譲先 */ - public ProxyXmlExporter(XmlExporter proxy){ + public ProxyXmlExporter(XmlExporter delegate){ super(); - this.delegate = proxy; + this.delegate = delegate; return; } @@ -35,8 +35,8 @@ public class ProxyXmlExporter extends AbstractXmlExporter{ * @throws IOException {@inheritDoc} */ @Override - public XmlExporter putRawCh(char ch) throws IOException{ - return this.delegate.putRawCh(ch); + public Appendable append(char ch) throws IOException{ + return this.delegate.append(ch); } /** @@ -46,8 +46,22 @@ public class ProxyXmlExporter extends AbstractXmlExporter{ * @throws IOException {@inheritDoc} */ @Override - public XmlExporter putRawText(CharSequence seq) throws IOException{ - return this.delegate.putRawText(seq); + public Appendable append(CharSequence seq) throws IOException{ + return this.delegate.append(seq); + } + + /** + * {@inheritDoc} + * @param seq {@inheritDoc} + * @param start {@inheritDoc} + * @param end {@inheritDoc} + * @return {@inheritDoc} + * @throws IOException {@inheritDoc} + */ + @Override + public Appendable append(CharSequence seq, int start, int end) + throws IOException{ + return this.delegate.append(seq, start, end); } /** @@ -72,6 +86,28 @@ public class ProxyXmlExporter extends AbstractXmlExporter{ /** * {@inheritDoc} + * @param ch {@inheritDoc} + * @return {@inheritDoc} + * @throws IOException {@inheritDoc} + */ + @Override + public XmlExporter putRawCh(char ch) throws IOException{ + return this.delegate.putRawCh(ch); + } + + /** + * {@inheritDoc} + * @param seq {@inheritDoc} + * @return {@inheritDoc} + * @throws IOException {@inheritDoc} + */ + @Override + public XmlExporter putRawText(CharSequence seq) throws IOException{ + return this.delegate.putRawText(seq); + } + + /** + * {@inheritDoc} * @return {@inheritDoc} */ @Override