Package java.beans

Examples of java.beans.BeanDescriptor


    // the namespace is the difference between name and localName
    return name.substring(0, name.length() - localName.length());
  }

  public ContentIFace getContentModel() throws IntrospectionException {
    BeanDescriptor bd = info.getBeanDescriptor();
    ContentIFace content = (ContentIFace) bd.getValue("content");
    if (content != null) return content;
    return new Content();
  }
View Full Code Here


 
  /**
   * @see java.beans.BeanInfo#getBeanDescriptor()
   */
  public BeanDescriptor getBeanDescriptor() {
    BeanDescriptor bd = new BeanDescriptor(BEAN);
    try {
    bd.setValue("content", new Content());
    } catch (Exception e) {
      Gloze.logger.error(e.getMessage());
    }
    return bd;
  }
View Full Code Here

  /**
   * @see java.beans.BeanInfo#getBeanDescriptor()
   */
  public BeanDescriptor getBeanDescriptor() {
    BeanDescriptor bd = new BeanDescriptor(BEAN);
    bd.setName("any");
    bd.setDisplayName(XMLBean.concatName(schema.XSD_URI, "any"));
    bd.setValue("ignore", new String[] { schema.XSD_URI+"#annotation" });
    try {
      bd.setValue("content", new element(schema.XSD_URI, "annotation", "0", "unbounded"));
    } catch (Exception e) {
      Gloze.logger.error(e.getMessage());
    }
    return bd;
  }
View Full Code Here

  /**
   * @see java.beans.BeanInfo#getBeanDescriptor()
   */
  public BeanDescriptor getBeanDescriptor() {
    BeanDescriptor bd = new BeanDescriptor(BEAN);
    bd.setName("sequence");
    bd.setDisplayName(XMLBean.concatName(schema.XSD_URI, "sequence"));
    bd.setValue("ignore", new String[] { schema.XSD_URI+"#annotation" });
    return bd;
  }
View Full Code Here

  /**
   * @see java.beans.BeanInfo#getBeanDescriptor()
   */
  public BeanDescriptor getBeanDescriptor() {
    BeanDescriptor bd = new BeanDescriptor(BEAN);
    bd.setName("pattern");
    bd.setDisplayName(XMLBean.concatName(schema.XSD_URI, "pattern"));
    bd.setValue("ignore", new String[] { schema.XSD_URI+"#annotation" });
    return bd;
  }
View Full Code Here

  /**
   * @see java.beans.BeanInfo#getBeanDescriptor()
   */
  public BeanDescriptor getBeanDescriptor() {
    BeanDescriptor bd = new BeanDescriptor(BEAN);
    bd.setName("enumeration");
    bd.setDisplayName(XMLBean.concatName(schema.XSD_URI, "enumeration"));
    bd.setValue("ignore", new String[] { schema.XSD_URI+"#annotation" });
    return bd;
  }
View Full Code Here

  /**
   * @see java.beans.BeanInfo#getBeanDescriptor()
   */
  public BeanDescriptor getBeanDescriptor() {
    BeanDescriptor bd = new BeanDescriptor(complexType.class);
    bd.setName("group");
    bd.setDisplayName(XMLBean.concatName(schema.XSD_URI, "group"));
    bd.setValue("ignore", new String[] { schema.XSD_URI+"#annotation"});
    return bd;
  }
View Full Code Here

  /**
   * @see java.beans.BeanInfo#getBeanDescriptor()
   */
  public BeanDescriptor getBeanDescriptor() {
    BeanDescriptor bd = new BeanDescriptor(BEAN);
    bd.setName("minInclusive");
    bd.setDisplayName(XMLBean.concatName(schema.XSD_URI, "minInclusive"));
    bd.setValue("ignore", new String[] { schema.XSD_URI+"#annotation" });
    return bd;
  }
View Full Code Here

  /**
   * @see java.beans.BeanInfo#getBeanDescriptor()
   */
  public BeanDescriptor getBeanDescriptor() {
    BeanDescriptor bd = new BeanDescriptor(BEAN);
    bd.setName("annotation");
    bd.setDisplayName(XMLBean.concatName(schema.XSD_URI, "annotation"));
    return bd;
  }
View Full Code Here

  /**
   * @see java.beans.BeanInfo#getBeanDescriptor()
   */
  public BeanDescriptor getBeanDescriptor() {
    BeanDescriptor bd = new BeanDescriptor(BEAN);
    bd.setName("attribute");
    bd.setDisplayName(XMLBean.concatName(schema.XSD_URI, "attribute"));
    return bd;
  }
View Full Code Here

TOP

Related Classes of java.beans.BeanDescriptor

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.