/** * Get named property. * * @param name match this name * @return String value of Property or null if not exist. */ public String findProperty(String name) { InvProperty result = null; for (InvProperty p : properties) { if (p.getName().equals(name)) result = p; } return (result == null) ? null : result.getValue(); }
/** * Get named property. * * @param name match this name * @return String value of Property or null if not exist. */ public String findProperty(String name) { InvProperty result = null; for (InvProperty p : properties) { if (p.getName().equals(name)) result = p; } return (result == null) ? null : result.getValue(); }
/** * Get named property. * * @param name match this name * @return String value of Property or null if not exist. */ public String findProperty(String name) { InvProperty result = null; for (InvProperty p : properties) { if (p.getName().equals(name)) result = p; } return (result == null) ? null : result.getValue(); }
/** * Find named property. * * @param name match this name * @return string value of property or null if not exist. */ public String findProperty(String name) { InvProperty result = null; for (InvProperty p : getProperties()) { if (p.getName().equals(name)) result = p; } return (result == null) ? null : result.getValue(); }
/** * Find named property. * * @param name match this name * @return string value of property or null if not exist. */ public String findProperty(String name) { InvProperty result = null; for (InvProperty p : getProperties()) { if (p.getName().equals(name)) result = p; } return (result == null) ? null : result.getValue(); }
/** * Find named property. * * @param name match this name * @return string value of property or null if not exist. */ public String findProperty(String name) { InvProperty result = null; for (InvProperty p : getProperties()) { if (p.getName().equals(name)) result = p; } return (result == null) ? null : result.getValue(); }
/** * Find named property. This may have been specified * in the dataset or an enclosing parent element. * * @param name match on this name * @return string value of property or null if not exist. */ public String findProperty(String name) { InvProperty result = null; for (InvProperty p : getProperties()) { if (p.getName().equals(name)) result = p; } return (result == null) ? null : result.getValue(); }
/** * Find named property. This may have been specified * in the dataset or an enclosing parent element. * * @param name match on this name * @return string value of property or null if not exist. */ public String findProperty(String name) { InvProperty result = null; for (InvProperty p : getProperties()) { if (p.getName().equals(name)) result = p; } return (result == null) ? null : result.getValue(); }
public static InvProperty copyProperty( InvProperty property) { return new InvProperty( property.getName(), property.getValue()); } }
public static InvProperty copyProperty( InvProperty property) { return new InvProperty( property.getName(), property.getValue()); } }
public static InvProperty copyProperty( InvProperty property) { return new InvProperty( property.getName(), property.getValue()); } }
private Element writeProperty(InvProperty prop) { Element propElem = new Element("property", defNS); propElem.setAttribute("name", prop.getName()); propElem.setAttribute("value", prop.getValue()); return propElem; }
private Element writeDatasetRoot( InvProperty prop) { Element drootElem = new Element("datasetRoot", defNS); drootElem.setAttribute("path", prop.getName()); drootElem.setAttribute("location", prop.getValue()); return drootElem; }
private Element writeDatasetRoot(InvProperty prop) { Element drootElem = new Element("datasetRoot", defNS); drootElem.setAttribute("path", prop.getName()); drootElem.setAttribute("location", prop.getValue()); return drootElem; }
private Element writeProperty(InvProperty prop) { Element propElem = new Element("property", defNS); propElem.setAttribute("name", prop.getName()); propElem.setAttribute("value", prop.getValue()); return propElem; }
private Element writeProperty( InvProperty prop) { Element propElem = new Element("property", defNS); propElem.setAttribute("name", prop.getName()); propElem.setAttribute("value", prop.getValue()); return propElem; }
private Element writeDatasetRoot(InvProperty prop) { Element drootElem = new Element("datasetRoot", defNS); drootElem.setAttribute("path", prop.getName()); drootElem.setAttribute("location", prop.getValue()); return drootElem; }
public ResultService( InvService service, String accessPointHeader) { super( service.getName(), service.getServiceType().toString(), service.getBase(), service.getSuffix(), service.getDescription()); for ( Iterator it = service.getProperties().iterator(); it.hasNext(); ) { InvProperty prop = (InvProperty) it.next(); addProperty( new InvProperty( prop.getName(), prop.getValue())); // LOOK JC changed } if ( service.getServiceType() == ServiceType.COMPOUND) { for ( Iterator it = service.getServices().iterator(); it.hasNext(); ) { addService( (InvService) it.next() ); // LOOK JC changed } } this.accessPointHeader = accessPointHeader; }
public ResultService( InvService service, String accessPointHeader) { super( service.getName(), service.getServiceType().toString(), service.getBase(), service.getSuffix(), service.getDescription()); for ( Iterator it = service.getProperties().iterator(); it.hasNext(); ) { InvProperty prop = (InvProperty) it.next(); addProperty( new InvProperty( prop.getName(), prop.getValue())); // LOOK JC changed } if ( service.getServiceType() == ServiceType.COMPOUND) { for ( Iterator it = service.getServices().iterator(); it.hasNext(); ) { addService( (InvService) it.next() ); // LOOK JC changed } } this.accessPointHeader = accessPointHeader; }
public ResultService( InvService service, String accessPointHeader) { super( service.getName(), service.getServiceType().toString(), service.getBase(), service.getSuffix(), service.getDescription()); for ( Iterator it = service.getProperties().iterator(); it.hasNext(); ) { InvProperty prop = (InvProperty) it.next(); addProperty( new InvProperty( prop.getName(), prop.getValue())); // LOOK JC changed } if ( service.getServiceType() == ServiceType.COMPOUND) { for ( Iterator it = service.getServices().iterator(); it.hasNext(); ) { addService( (InvService) it.next() ); // LOOK JC changed } } this.accessPointHeader = accessPointHeader; }