BIInterface( Element e ) { this.dom = e; name = DOMUtil.getAttribute(e,"name"); members = parseTokens(DOMUtil.getAttribute(e,"members")); if(DOMUtil.getAttribute(e,"properties")!=null) { fields = parseTokens(DOMUtil.getAttribute(e,"properties")); throw new AssertionError("//interface/@properties is not supported"); } else // no property was specified fields = new String[0]; }
BIInterface( Element e ) { this.dom = e; name = DOMUtil.getAttribute(e,"name"); members = parseTokens(DOMUtil.getAttribute(e,"members")); if(DOMUtil.getAttribute(e,"properties")!=null) { fields = parseTokens(DOMUtil.getAttribute(e,"properties")); throw new AssertionError("//interface/@properties is not supported"); } else // no property was specified fields = new String[0]; }
BIInterface( Element e ) { this.dom = e; name = DOMUtil.getAttribute(e,"name"); members = parseTokens(DOMUtil.getAttribute(e,"members")); if(DOMUtil.getAttribute(e,"properties")!=null) { fields = parseTokens(DOMUtil.getAttribute(e,"properties")); throw new AssertionError("//interface/@properties is not supported"); } else // no property was specified fields = new String[0]; }
BIInterface( Element e ) { this.dom = e; name = DOMUtil.getAttribute(e,"name"); members = parseTokens(DOMUtil.getAttribute(e,"members")); if(DOMUtil.getAttribute(e,"properties")!=null) { fields = parseTokens(DOMUtil.getAttribute(e,"properties")); throw new AssertionError("//interface/@properties is not supported"); } else // no property was specified fields = new String[0]; }
BIConstructor( Element _node ) { this.dom = _node; StringTokenizer tokens = new StringTokenizer( DOMUtil.getAttribute(_node,"properties")); List<String> vec = new ArrayList<String>(); while(tokens.hasMoreTokens()) vec.add(tokens.nextToken()); properties = vec.toArray(new String[0]); if( properties.length==0 ) throw new AssertionError("this error should be catched by the validator"); }
BIConstructor( Element _node ) { this.dom = _node; StringTokenizer tokens = new StringTokenizer( DOMUtil.getAttribute(_node,"properties")); List<String> vec = new ArrayList<String>(); while(tokens.hasMoreTokens()) vec.add(tokens.nextToken()); properties = vec.toArray(new String[0]); if( properties.length==0 ) throw new AssertionError("this error should be catched by the validator"); }
BIConstructor( Element _node ) { this.dom = _node; StringTokenizer tokens = new StringTokenizer( DOMUtil.getAttribute(_node,"properties")); List<String> vec = new ArrayList<String>(); while(tokens.hasMoreTokens()) vec.add(tokens.nextToken()); properties = vec.toArray(new String[0]); if( properties.length==0 ) throw new AssertionError("this error should be catched by the validator"); }
BIConstructor( Element _node ) { this.dom = _node; StringTokenizer tokens = new StringTokenizer( DOMUtil.getAttribute(_node,"properties")); List<String> vec = new ArrayList<String>(); while(tokens.hasMoreTokens()) vec.add(tokens.nextToken()); properties = vec.toArray(new String[0]); if( properties.length==0 ) throw new AssertionError("this error should be catched by the validator"); }
/** * Gets the property name for this attribute. * * @return * always a non-null, valid string. */ public final String getPropertyName() { String r = DOMUtil.getAttribute(element,"property"); if(r!=null) return r; else return name(); } }
/** * Gets the property name for this attribute. * * @return * always a non-null, valid string. */ public final String getPropertyName() { String r = DOMUtil.getAttribute(element,"property"); if(r!=null) return r; else return name(); } }
/** Gets the serialVersionUID if it's turned on. */ public Long getSerialVersionUID() { Element serial = DOMUtil.getElement(dom,XJC_NS,"serializable"); if(serial==null) return null; String v = DOMUtil.getAttribute(serial,"uid"); if(v==null) v="1"; return new Long(v); }
/** * Gets the property name for this attribute. * * @return * always a non-null, valid string. */ public final String getPropertyName() { String r = DOMUtil.getAttribute(element,"property"); if(r!=null) return r; else return name(); } }
/** Gets the serialVersionUID if it's turned on. */ public Long getSerialVersionUID() { Element serial = DOMUtil.getElement(dom,XJC_NS,"serializable"); if(serial==null) return null; String v = DOMUtil.getAttribute(serial,"uid"); if(v==null) v="1"; return new Long(v); }
/** Gets the serialVersionUID if it's turned on. */ public Long getSerialVersionUID() { Element serial = DOMUtil.getElement(dom,XJC_NS,"serializable"); if(serial==null) return null; String v = DOMUtil.getAttribute(serial,"uid"); if(v==null) v="1"; return new Long(v); }
/** Gets the serialVersionUID if it's turned on. */ public Long getSerialVersionUID() { Element serial = DOMUtil.getElement(dom,XJC_NS,"serializable"); if(serial==null) return null; String v = DOMUtil.getAttribute(serial,"uid"); if(v==null) v="1"; return new Long(v); }
/** * Gets the property name for this attribute. * * @return * always a non-null, valid string. */ public final String getPropertyName() { String r = DOMUtil.getAttribute(element,"property"); if(r!=null) return r; else return name(); } }
/** Gets the value from the option element. */ private String getOption(String attName, String defaultValue) { Element opt = DOMUtil.getElement(dom,"options"); if (opt != null) { String s = DOMUtil.getAttribute(opt,attName); if (s != null) return s; } return defaultValue; }
/** Gets the value from the option element. */ private String getOption(String attName, String defaultValue) { Element opt = DOMUtil.getElement(dom,"options"); if (opt != null) { String s = DOMUtil.getAttribute(opt,attName); if (s != null) return s; } return defaultValue; }
/** Gets the value from the option element. */ private String getOption(String attName, String defaultValue) { Element opt = DOMUtil.getElement(dom,"options"); if (opt != null) { String s = DOMUtil.getAttribute(opt,attName); if (s != null) return s; } return defaultValue; }
/** * Gets the property name for this attribute. * * @return * always a non-null, valid string. */ public final String getPropertyName() { String r = DOMUtil.getAttribute(element,"property"); if(r!=null) return r; else return name(); } }