Examples of reset()


Examples of xbird.util.io.FastMultiByteArrayOutputStream.reset()

            for(int p = i; p < limit; p++) {
                final int[] ref = blockRef[p];
                if(ref == null) {
                    if(buf.size() > 0) {
                        final byte[] b = buf.toByteArray();
                        buf.reset();
                        paged.bulkWrite(addr, b);
                    }
                } else {
                    if(buf.size() == 0) {
                        addr = p;
View Full Code Here

Examples of xbird.xquery.dm.coder.XDMTreeBuilder.reset()

                try {
                    item = _decoder.decodeItem(treeBuilder);
                } catch (IOException e) {
                    throw new XQueryException("failed decoding an Item", e);
                } finally {
                    treeBuilder.reset();
                }
                if(item != null) {
                    decodedItems.add(item);
                    if(i == 0) {
                        focus.setContextItem(item);
View Full Code Here

Examples of xdoclet.util.XmlValidator.reset()

        }

        if (shouldValidate()) {
            XmlValidator validator = XmlValidator.getInstance();

            validator.reset();

            if (getPublicId() != null) {
                validator.registerDTD(getPublicId(), getDtdURL());
            }
            if (getSchemaURL() != null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.