}
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");
OCXSBasicComponent basicComponent = schemaComponents.get(0);
System.out.println("isType: " + basicComponent.isTypeOf(OCXSComponentType.IMPORT));