<p>Return the value of the <code>public</code> property.</p>
<p>Contents: <div class="changed_added_2_1">
Will be output as the public part of the DOCTYPE
</div>
764376
public java.lang.String getPublic() {
        return (java.lang.String) getStateHelper().eval(PropertyKeys.publicVal);

    }
255032
public Object getValue() {
        final String currentPath = getCurrentPath();
        if(Utils.isEmpty(currentPath)) {
            return target;
        } else {
            return propertyValueNavigator.getProperty(target, currentPath);
        }
    }
826528
private HierarchicalProperty getProperty(Node node, QName name) throws PathNotFoundException, RepositoryException
   {
      Property property = node.getProperty(WebDavNamespaceContext.createName(name));
      String propertyValue;
      if (property.getDefinition().isMultiple())
      {
         if (property.getValues().length >= 1)
         {
            propertyValue = property.getValues()[0].getString();
         }
         else
         {
            // this means that we return empty value, because according to WebDAV spec:
            // this is a property whose semantics and syntax are not enforced by the server
            // the server only records the value of a dead property;
            // the client is responsible for maintaining the consistency of the syntax and semantics of a dead property. 
            propertyValue = "";
         }
      }
      else
      {
         propertyValue = property.getString();
      }
      return new HierarchicalProperty(name, propertyValue);
   }
527082
public String getPropertyValue(String propertyName) {

        if (m_ownProperties.containsKey(propertyName)) {
            return m_ownProperties.get(propertyName).getEffectiveValue();
        }
        return null;
    }
570730
@Override
    public Object getValue(Object instance, String propertyName) {
        PropertyAccessor accessor = PropertyProxyUtils.getPropertyAccessor(this.conversionService, this.useDirectFieldAccess, instance);
        Object value = accessor.getPropertyValue(propertyName);
        if(log.isDebugEnabled()) {
            getType(instance, propertyName);
            log.debug("Actual type of value for property '"+propertyName+"' on instance "+instance+" is "+(value != null ? value.getClass() : null));
        }
        
        TypeDescriptor targetType = accessor.getPropertyTypeDescriptor(propertyName);
        TypeDescriptor sourceType = value == null ? targetType : TypeDescriptor.valueOf(value.getClass());
        if (this.conversionService.canConvert(sourceType, targetType)) {
            value = this.conversionService.convert(value, sourceType, targetType);
        }
        return value;
    }
9435
@Nullable static ObjectType getObjectType(
      @Nullable ObjectType referenceType,
      boolean isOverride,
      String propertyName) {
    if (referenceType == null) {
      return null;
    }

    // Find the lowest property defined on a class with visibility information.
    ObjectType current = isOverride ? referenceType.getImplicitPrototype() : referenceType;
    for (; current != null; current = current.getImplicitPrototype()) {
      JSDocInfo docInfo = current.getOwnPropertyJSDocInfo(propertyName);
      if (docInfo != null && docInfo.getVisibility() != Visibility.INHERITED) {
        return current;
      }
    }
    return null;
  }
70879
@Override
    public Map<String, String> getChangedPropertiesMap(WebAppSecurityConfig original) {
        // Bail out if it is the same object, or if this isn't of the right type.
        if (this == original) {
            return null;
        }
        if (!(original instanceof WebAppSecurityConfigImpl)) {
            return null;
        }

        TreeMap<String, String> output = new TreeMap<String, String>();
        WebAppSecurityConfigImpl orig = (WebAppSecurityConfigImpl) original;

        for (Entry<String, String> entry : configAttributes.entrySet()) {
            try {
                Field field = (WebAppSecurityConfigImpl.class).getDeclaredField(entry.getValue());
                field.setAccessible(true);
                appendToMapIfDifferent(output, entry.getKey(), field.get(this), field.get(orig));
            } catch (Exception e) {
                // this won't happen. just ignore.
                if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                    Tr.debug(tc, "Exception is caught " + e);
                }
            }
        }
        if (output.isEmpty()) {
            output = null;
        }
        return output;
    }
775565
public Class<?> getJavaType() {
		if(javaType==null) {
			javaType=JKTypeMapping.getType(getCode()).getClass();
			if(javaType==null) {
				JK.error("JKType cannot by null, and code not avaiable %s",code);
			}
		}
		return javaType;
	}
1026413
public Class<?> getMapOutputValueClass() {
    Class<?> retv = getClass("mapred.mapoutput.value.class", null,
        Object.class);
    if (retv == null) {
      retv = getOutputValueClass();
    }
    return retv;
  }
945622
public static Class getPropertyType(Class<?> beanClass, String property){
        Method getter = getGetterMethod(beanClass, property);
        if(getter==null)
            return null;
        else
            return getter.getReturnType();
    }
14528
private String getProperty(String propertyName) {
            return propertyName == null ? null : (String) getPropertyValue(propertyName);
        }
1005361
private PropertyType processPropertyType() {
        final PropertyType pt = new PropertyType();
        pt.setValue(currentText.toString());
        if (currentAttributes != null && currentAttributes.getLength() > 0) {
            final String regex = currentAttributes.getValue("regex");
            if (regex != null) {
                pt.setRegex(Boolean.parseBoolean(regex));
            }
            final String caseSensitive = currentAttributes.getValue("caseSensitive");
            if (caseSensitive != null) {
                pt.setCaseSensitive(Boolean.parseBoolean(caseSensitive));
            }
        }
        return pt;
    }
629555
@Override
	public Object getProperty(String propname, Class<?> hint) {
		final String sourceMethod = "getProperty"; //$NON-NLS-1$
		boolean isTraceLogging = log.isLoggable(Level.FINER);
		if (isTraceLogging) {
			log.entering(ConfigImpl.class.getName(), sourceMethod, new Object[]{propname, hint});
		}
		Object result = rawConfig.get(propname, rawConfig);
		if (result != null && result instanceof Scriptable && hint != null) {
			Context.enter();
			try {
				result = Context.jsToJava(result, hint);
			} catch (EvaluatorException e) {
				throw new IllegalArgumentException(e);
			}finally {
				Context.exit();
			}
		}
		if (result == org.mozilla.javascript.Scriptable.NOT_FOUND) {
			result = com.ibm.jaggr.core.config.IConfig.NOT_FOUND;
		} else if (result == Undefined.instance) {
			result = null;
		}
		if (isTraceLogging) {
			log.exiting(ConfigImpl.class.getName(), sourceMethod, result);
		}
		return result;
	}
385128
public Properties getOutputFormat() {
        Properties def = new Properties();
        {
            Set s = getOutputPropDefaultKeys();
            Iterator i = s.iterator();
            while (i.hasNext()) {
                String key = (String) i.next();
                String val = getOutputPropertyDefault(key);
                def.put(key, val);
            }
        }
        
        Properties props = new Properties(def);
        {
            Set s = getOutputPropKeys();
            Iterator i = s.iterator();
            while (i.hasNext()) {
                String key = (String) i.next();
                String val = getOutputPropertyNonDefault(key);
                if (val != null)
                    props.put(key, val);
            }
        }
        return props;
    }
213898
public com.google.api.ChangeType getChangeType() {
    @SuppressWarnings("deprecation")
    com.google.api.ChangeType result = com.google.api.ChangeType.valueOf(changeType_);
    return result == null ? com.google.api.ChangeType.UNRECOGNIZED : result;
  }
656704
public T getValue() {
    try {
      value = parse(originalParameter);
    } catch (InvalidParameterException e) {
      throw new WebApplicationException(onError(e));
    }
    return value;
  }
1274666
@Override
    public String getChangedProperties(WebAppSecurityConfig original) {
        // Bail out if it is the same object, or if this isn't of the right type.
        if (this == original) {
            return "";
        }
        if (!(original instanceof WebAppSecurityConfigImpl)) {
            return "";
        }

        StringBuffer buf = new StringBuffer();
        WebAppSecurityConfigImpl orig = (WebAppSecurityConfigImpl) original;

        for (Entry<String, String> entry : configAttributes.entrySet()) {
            try {
                Field field = (WebAppSecurityConfigImpl.class).getDeclaredField(entry.getValue());
                field.setAccessible(true);
                appendToBufferIfDifferent(buf, entry.getKey(), field.get(this), field.get(orig));
            } catch (Exception e) {
                // this won't happen. just ignore.
                if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                    Tr.debug(tc, "Exception is caught " + e);
                }

            }
        }
        return buf.toString();
    }