Package com.ipc.oce.xml.oc

Examples of com.ipc.oce.xml.oc.OCXMLSchemaSet


   *
   * @return OCXMLSchemaSet
   * @throws JIException - ошибка DCOM.
   */
  public final OCXMLSchemaSet newXMLSchemaSet() throws JIException {
    return new OCXMLSchemaSet(newObject("XMLSchemaSet"));
  }
View Full Code Here


    for (OCXDTOPackage package1 : pacCollection) {
      System.out.println(package1.getNamespaceURI());
    }
    String sSchema = "http://v8.1c.ru/8.1/data/enterprise/current-config";
    System.out.println("SCHEMA ------------------------------");
    OCXMLSchemaSet schemaSet = factory.exportXMLSchema(sSchema);
    System.out.println("Schema set size: " + schemaSet.size());
    OCXMLSchema schema = schemaSet.getSchema(0);
    System.out.println("Schema component type: " + schema.getComponentType());
   
    OCXSComponentFixedList schemaComponents = schema.getComponents();
    int schemaElements = schemaComponents.size();
    System.out.println("Schema {" + sSchema + "} contains " + schemaElements + " elements");
View Full Code Here

    System.out.println(xmlType.getTypeName() + " in {" +xmlType.getNamespaceURI() + "}");
    System.out.println(type);
   
    OCXDTOFactory factory = app.getXDTOFactory();
    String sSchema = "http://v8.1c.ru/8.1/data/enterprise/current-config";
    OCXMLSchemaSet schemaSet = factory.exportXMLSchema(sSchema);
    OCXMLSchema schema = schemaSet.getSchema(0);
   
    OCXSNamedComponentMap typeMap = schema.getTypeDefinitions();
    OCXSBasicComponent bc = typeMap.getByName(xmlType.getTypeName());
    System.out.println("BC toString: " + bc);
   
View Full Code Here

TOP

Related Classes of com.ipc.oce.xml.oc.OCXMLSchemaSet

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.