|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
com.bea.content.manager.servlets.attribute.impl.AbstractContentAttributeResolver<Object>
com.bea.content.manager.servlets.attribute.property.ContentPropertyResolver
com.bea.content.manager.servlets.attribute.property.SingleValuePropertyResolver
com.bea.content.manager.servlets.attribute.property.BinaryPropertyResolver
com.bea.content.manager.servlets.attribute.property.TextBinaryPropertyResolver
public class TextBinaryPropertyResolver
| Field Summary |
|---|
| Fields inherited from class com.bea.content.manager.servlets.attribute.property.ContentPropertyResolver |
|---|
CURRENT_VERSION_NUMBER_STR |
| Fields inherited from class com.bea.content.manager.servlets.attribute.impl.AbstractContentAttributeResolver |
|---|
debug, txDebug |
| Fields inherited from interface com.bea.content.manager.servlets.attribute.property.PropertyResolverConstants |
|---|
ATTR_CONVERSION_TYPE, ATTR_DATE_FORMATTER, ATTR_DEFAULT_VALUE, ATTR_END_INDEX, ATTR_HTTP_SERVLET_REQUEST, ATTR_HTTP_SERVLET_RESPONSE, ATTR_IS_MULTIVALUED, ATTR_IS_NESTED_PROPERTY, ATTR_NODE_VERSION, ATTR_NUMBER_FORMATTER, ATTR_OVERRIDING_PROPERTY, ATTR_PROPERTY_NAME, ATTR_READ_WRITE_BLOCK_SIZE, ATTR_SELECTED_NODE, ATTR_START_INDEX, ATTR_TRANSACTION_TIMEOUT_SECS |
| Constructor Summary | |
|---|---|
TextBinaryPropertyResolver() |
|
| Method Summary | |
|---|---|
protected Map<String,Object> |
getDefaultContextValues()Returns a map of key/values that contain default values if/when their associated context keys are null or not provided. |
protected Integer |
getReadWriteBlockSize(AttributeContext context)Returns the read/write block size specified by caller. |
protected Set<String> |
getRequiredContextAttributes()Returns a collection of required AttributeContext keys. |
protected Integer |
getTransactionTimeoutSecs(AttributeContext context)Returns the transaction timeout seconds specified by caller. |
protected Map<String,Class<?>> |
getValidContextAttributeClasses()Used for validation of classes associated with context keys. |
void |
resolveAttribute(AttributeContext context, Writer writer)Resolves an object and writes its value to the provided java.io.Writer. |
| Methods inherited from class com.bea.content.manager.servlets.attribute.property.BinaryPropertyResolver |
|---|
getBinaryResolver, resolveAttribute, validateNestedTypes |
| Methods inherited from class com.bea.content.manager.servlets.attribute.property.ContentPropertyResolver |
|---|
convert, doNonBinary, getConversionType, getDateFormatter, getDefaultValue, getEndIndex, getIsMultiValued, getIsNestedProperty, getNodeProperty, getNodeVersion, getNumberFormatter, getPrimaryPropertyFromVersion, getPropertyName, getPropertyValues, getSelectedNode, getStartIndex, resolveAttributeToString, shouldGetPropertyFromNode, toString, toString, validateAndProcessProperty, validateAttributeContext |
| Methods inherited from class com.bea.content.manager.servlets.attribute.impl.AbstractContentAttributeResolver |
|---|
checkCallerCanViewNode, getContextAttribute, validateAttributeValueFromOptions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextBinaryPropertyResolver()
| Method Detail |
|---|
public void resolveAttribute(AttributeContext context,
Writer writer)
AttributeResolverjava.io.Writer.
If propertyName is null, the default primary property value will be written to the java.io.Writer.
resolveAttribute in interface AttributeResolver<Object>resolveAttribute in class ContentPropertyResolvercontext - The <AttributeContext> to use when resolving this attribute.writer - The java.io.Writer to write the property value to.protected Integer getReadWriteBlockSize(AttributeContext context)
ATTR_READ_WRITE_BLOCK_SIZEprotected Integer getTransactionTimeoutSecs(AttributeContext context)
ATTR_TRANSACTION_TIMEOUT_SECSprotected Set<String> getRequiredContextAttributes()
com.bea.content.manager.servlets.attribute.impl.AbstractContentAttributeResolverAttributeContext keys.
The returned value will be used to ensure that the proper context keys are set up in the AttributeContext.
This method must NOT return null. An empty Set is acceptable.
getRequiredContextAttributes in class BinaryPropertyResolverprotected Map<String,Class<?>> getValidContextAttributeClasses()
com.bea.content.manager.servlets.attribute.impl.AbstractContentAttributeResolverThis method must NOT return null. An empty Map is acceptable.
getValidContextAttributeClasses in class BinaryPropertyResolverprotected Map<String,Object> getDefaultContextValues()
com.bea.content.manager.servlets.attribute.impl.AbstractContentAttributeResolverThis method must NOT return null. An empty Map is acceptable.
getDefaultContextValues in class BinaryPropertyResolver
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.