Package com.volantis.mcs.wbdom

Examples of com.volantis.mcs.wbdom.WBDOMDocument


    // Inherit Javadoc.
    public void startDocument(DissectableDocument document,
            SharedContentUsages usages) throws DissectionException {
        WBDOMDissectableDocument ddocument = (WBDOMDissectableDocument) document;
        WBDOMDocument wbdomDocument = ddocument.getDocument();
       
        strings = wbdomDocument.getStringFactory();
        stringTable = new StringTable();
        references = new StringReferenceFactory(
                stringTable, strings);
        resolver = new CopyReferenceResolver(references);
        elementNameSerialiser = new WBSAXElementNameSerialiser(handler,
                resolver);
        attributeNameSerialiser = new WBSAXAttributeNameSerialiser(handler,
                resolver);
        attributeValueSerialiser = new WBSAXAttributeValueSerialiser(handler,
                resolver);
        attributesSerialiser = new WBSAXAttributesSerialiser(
                handler, attributeNameSerialiser, attributeValueSerialiser,
                configuration, urlListener);
        elementValueSerialiser = new WBSAXElementValueSerialiser(handler,
                resolver);
        try {
            handler.startDocument(wbdomDocument.getVersion(),
                    wbdomDocument.getPublicId(),
                    wbdomDocument.getCodec(), stringTable, strings);
        } catch (WBSAXException e) {
            throw new DissectionException(e);
        }
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.wbdom.WBDOMDocument

Copyright © 2018 www.massapicom. 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.