Examples of IFieldDescription


Examples of com.sun.star.uno.IFieldDescription

  }

  void writeStruct(ITypeDescription iTypeDescription, Object object) {
    if(DEBUG) System.err.println("##### " + getClass().getName() + ".writeStruct:" + iTypeDescription + " " + object);

    IFieldDescription iFieldDescriptions[] = iTypeDescription.getFieldDescriptions();
    for(int i = 0; i < iFieldDescriptions.length; ++ i) {
      try {
        writeObject(iFieldDescriptions[i].getTypeDescription(), iFieldDescriptions[i].getField().get(object));
      }
      catch(IllegalAccessException illegalAccessException) {
View Full Code Here

Examples of com.sun.star.uno.IFieldDescription

        System.err.println("\tgetMethod:" + iMethodDescriptions[i].getMethod());
      }
    System.err.println();

    System.err.println("Members:");
    IFieldDescription iFieldDescriptions[] = iTypeDescription.getFieldDescriptions();
    if(iFieldDescriptions != null)
      for(int i = 0; i < iFieldDescriptions.length; ++ i) {
        System.err.print("\tMember: " + iFieldDescriptions[i].getName());
//          System.err.print(" isConst: " + iMethodDescriptions[i].isConst());
        System.err.print(" isUnsigned: " + iFieldDescriptions[i].isUnsigned());
View Full Code Here

Examples of com.sun.star.uno.IFieldDescription

      throw new com.sun.star.uno.RuntimeException(getClass().getName() + ".readString - unexpected:" + unsupportedEncodingException);
    }
  }

  void readStruct(ITypeDescription iTypeDescription, Object object) {
    IFieldDescription iFieldDescriptions[] = iTypeDescription.getFieldDescriptions();

      for(int i = 0; i < iFieldDescriptions.length; ++ i) {
      try {
        iFieldDescriptions[i].getField().set(object, readObject(iFieldDescriptions[i].getTypeDescription()));
      }
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.