Package org.zkoss.idom

Examples of org.zkoss.idom.DocType


  }
  private final Document processDocType(final Document doc) {
    if (!_outDocType)
      return doc;

    final DocType dt = doc.getDocType();
    if (dt == null)
      return doc;

    final String sysid = dt.getSystemId();
    if (sysid != null && sysid.length() > 0)
      _tfmr.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, sysid);
    final String pubid = dt.getPublicId();
    if (pubid != null && pubid.length() > 0)
      _tfmr.setOutputProperty(OutputKeys.DOCTYPE_PUBLIC, pubid);
    return doc;
  }
View Full Code Here

TOP

Related Classes of org.zkoss.idom.DocType

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.