# Deprecated API

## Contents

- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

- Deprecated Fields
  Field and Description
  org.apache.myfaces.trinidad.convert.ColorConverter.DEFAULT_COLOR_FORMAT_PATTERNS use getDefaultColorFormatPatterns()
  org.apache.myfaces.trinidad.webapp.UIXComponentELTag.DOCUMENT_CREATED_KEY Not used any more in the session state manager
  org.apache.myfaces.trinidad.context.Agent.PLATFORM_MAC
  org.apache.myfaces.trinidad.component.UIXSubform.SUBMITTED_KEY submitted is request scope, and therefore will not be saved on the faces bean as a property

- Deprecated Methods
  Method and Description
  org.apache.myfaces.trinidad.change.ChangeManager.addDocumentChange(FacesContext, UIComponent, DocumentChange) use `ChangeManager.addDocumentChangeWithOutcome(javax.faces.context.FacesContext,javax.faces.component.UIComponent,org.apache.myfaces.trinidad.change.DocumentChange)` instead
  org.apache.myfaces.trinidad.skin.SkinFactory.addSkin(String, Skin) use SkinProvider SPI to deal with externals skins Implementing SkinProvider and exposing skins using SkinProvider#getSkin() method is recommended than using this API to make skins available at runtime.
  org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(FacesEvent, MethodBinding)
  org.apache.myfaces.trinidad.component.UIXCollection.clearCurrencyStringCache() Have your Renderer implement `ClientRowKeyManagerFactory` and create your own `ClientRowKeyManager` instances. Then you can manage the lifecycle of each key inside your ClientRowKeyManager.
  org.apache.myfaces.trinidad.context.RequestContextFactory.createContext(Object, Object) This method does not work in a Portal environment. It will only work with a ServletRequest. Please use `RequestContextFactory.createContext(ExternalContext)` which is container agnostic.
  org.apache.myfaces.trinidad.component.visit.VisitTreeUtils.createVisitContext(FacesContext, Collection, Set) Method is no longer needed and duplicates the functionality provided by `VisitContext#createVisitContext(FacesContext, Collection, Set)`
  org.apache.myfaces.trinidad.context.RequestContext.createVisitContext(FacesContext, Collection, Set, PhaseId) use `VisitContext#createVisitContext(FacesContext, Collection, Set)` instead
  org.apache.myfaces.trinidad.util.Base64OutputStream.finish() use the close() method instead.
  org.apache.myfaces.trinidad.util.ExternalContextUtils.getCharacterEncoding(ExternalContext) replaced by an API in JSF. Use ExternalContext.getRequestCharacterEncoding()
  org.apache.myfaces.trinidad.util.ExternalContextUtils.getContentType(ExternalContext) use ExternalContext.getRequestContentType()
  org.apache.myfaces.trinidad.component.UIXCollection.getCurrencyString() use getClientRowKey
  org.apache.myfaces.trinidad.context.LocaleContext.getIANALocaleString() use getFormattingIANALocaleString()
  org.apache.myfaces.trinidad.context.LocaleContext.getLocale() use getFormattingLocale()
  org.apache.myfaces.trinidad.context.RequestContext.getProcessScope() use getPageFlowScope()
  org.apache.myfaces.trinidad.util.ExternalContextUtils.getRequestContextPath(ExternalContext) use ExternalContext.getRequestContextPath() as of JSF 1.2. This method does not appropriately handle portlet environments, but the functionality is maintained to prevent needing to change the contract.
  org.apache.myfaces.trinidad.util.ExternalContextUtils.getRequestScheme(ExternalContext) replaced by ExternalContext.getRequestScheme().
  org.apache.myfaces.trinidad.util.ExternalContextUtils.getResponseWriter(ExternalContext) replaced by an API in JSF. Use ExternalContext.getResponseOutputWriter()
  org.apache.myfaces.trinidad.skin.SkinFactory.getSkin(FacesContext, String) use SkinProvider#getSkin method to query skins
  org.apache.myfaces.trinidad.skin.SkinFactory.getSkin(FacesContext, String, String) use SkinProvider#getSkin method to query skins
  org.apache.myfaces.trinidad.skin.SkinFactory.getSkin(FacesContext, String, String, String) use SkinProvider#getSkin method to query skins
  org.apache.myfaces.trinidad.skin.SkinFactory.getSkinIds() use SkinProvider#getSkinMetadata to get the list of skins supported
  org.apache.myfaces.trinidad.skin.SkinAddition.getTranslationSourceValueBinding()
  org.apache.myfaces.trinidad.bean.FacesBean.getValueBinding(PropertyKey)
  org.apache.myfaces.trinidad.convert.ColorConverter.getValueBinding(String)
  org.apache.myfaces.trinidad.convert.NumberConverter.getValueBinding(String)
  org.apache.myfaces.trinidad.convert.DateTimeConverter.getValueBinding(String)
  org.apache.myfaces.trinidad.validator.ByteLengthValidator.getValueBinding(String)
  org.apache.myfaces.trinidad.validator.DoubleRangeValidator.getValueBinding(String)
  org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.getValueBinding(String)
  org.apache.myfaces.trinidad.validator.LongRangeValidator.getValueBinding(String)
  org.apache.myfaces.trinidad.validator.RegExpValidator.getValueBinding(String)
  org.apache.myfaces.trinidad.validator.DateRestrictionValidator.getValueBinding(String)
  org.apache.myfaces.trinidad.validator.LengthValidator.getValueBinding(String)
  org.apache.myfaces.trinidad.model.RowKeySetTreeImpl.invertAll() not implemented.
  org.apache.myfaces.trinidad.util.ExternalContextUtils.isAction(ExternalContext) replaced with `ExternalContextUtils.isRequestFromClient(ExternalContext)`
  org.apache.myfaces.trinidad.model.RowKeySetTreeImpl.isContainedByDefault() do not use. this will be removed post Tier 1.
  org.apache.myfaces.trinidad.model.RowKeySet.isContainedByDefault() remove asap
  org.apache.myfaces.trinidad.skin.Skin.isDirty() use isDirty(boolean checkAncestorSkins) instead.
  org.apache.myfaces.trinidad.skin.Skin.registerStyleSheet(String) Use addSkinAddition(SkinAddition) instead.
  org.apache.myfaces.trinidad.skin.SkinFactory.reload() use SkinProvider SPI to deal with externals skins this functionality will now be replaced by having the SkinProvider implementations reloading skins themselves as and when required.
  org.apache.myfaces.trinidad.config.Configurator.reloadSkins(ExternalContext, SkinFactory) use SkinProvider SPI. The reloading of 'dirty' skins has to be taken care inside SkinProvider implementations.
  org.apache.myfaces.trinidad.component.UIXComponentBase.setAttributeChangeListener(MethodBinding)
  org.apache.myfaces.trinidad.component.UIXCollection.setCurrencyString(String) use setClientRowKey
  org.apache.myfaces.trinidad.component.UIXShowDetail.setDisclosureListener(MethodBinding)
  org.apache.myfaces.trinidad.component.UIXCommand.setLaunchListener(MethodBinding)
  org.apache.myfaces.trinidad.component.UIXPoll.setPollListener(MethodBinding)
  org.apache.myfaces.trinidad.component.UIXSelectRange.setRangeChangeListener(MethodBinding)
  org.apache.myfaces.trinidad.component.UIXTable.setRangeChangeListener(MethodBinding)
  org.apache.myfaces.trinidad.component.UIXTreeTable.setRangeChangeListener(MethodBinding)
  org.apache.myfaces.trinidad.component.UIXSelectInput.setReturnListener(MethodBinding)
  org.apache.myfaces.trinidad.component.UIXCommand.setReturnListener(MethodBinding)
  org.apache.myfaces.trinidad.component.UIXTable.setRowDisclosureListener(MethodBinding)
  org.apache.myfaces.trinidad.component.UIXTree.setRowDisclosureListener(MethodBinding)
  org.apache.myfaces.trinidad.component.UIXTable.setSelectionListener(MethodBinding)
  org.apache.myfaces.trinidad.component.UIXTree.setSelectionListener(MethodBinding)
  org.apache.myfaces.trinidad.component.UIXTable.setSortListener(MethodBinding)
  org.apache.myfaces.trinidad.component.UIXComponent.setUpEncodingContext(FacesContext, RenderingContext)
  org.apache.myfaces.trinidad.render.CoreRenderer.setupEncodingContext(FacesContext, RenderingContext, UIXComponent)
  org.apache.myfaces.trinidad.bean.FacesBean.setValueBinding(PropertyKey, ValueBinding)
  org.apache.myfaces.trinidad.convert.ColorConverter.setValueBinding(String, ValueBinding)
  org.apache.myfaces.trinidad.convert.NumberConverter.setValueBinding(String, ValueBinding)
  org.apache.myfaces.trinidad.convert.DateTimeConverter.setValueBinding(String, ValueBinding)
  org.apache.myfaces.trinidad.validator.ByteLengthValidator.setValueBinding(String, ValueBinding)
  org.apache.myfaces.trinidad.validator.DoubleRangeValidator.setValueBinding(String, ValueBinding)
  org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.setValueBinding(String, ValueBinding)
  org.apache.myfaces.trinidad.validator.LongRangeValidator.setValueBinding(String, ValueBinding)
  org.apache.myfaces.trinidad.validator.RegExpValidator.setValueBinding(String, ValueBinding)
  org.apache.myfaces.trinidad.validator.DateRestrictionValidator.setValueBinding(String, ValueBinding)
  org.apache.myfaces.trinidad.validator.LengthValidator.setValueBinding(String, ValueBinding)
  org.apache.myfaces.trinidad.render.CoreRenderer.tearDownEncodingContext(FacesContext, RenderingContext, UIXComponent)
  org.apache.myfaces.trinidad.render.CoreRenderer.toUri(Object) use toResourceUri

- Deprecated Constructors
  Constructor and Description
  org.apache.myfaces.trinidad.skin.SkinAddition(Map) Use builder to create a SkinAddition object.
  org.apache.myfaces.trinidad.skin.SkinAddition(String) Use builder to create a SkinAddition object.
  org.apache.myfaces.trinidad.skin.SkinAddition(String, Map) Use builder to create a SkinAddition object.
  org.apache.myfaces.trinidad.skin.SkinAddition(String, String) Use builder to create a SkinAddition object.
  org.apache.myfaces.trinidad.skin.SkinAddition(String, String, Map) Use builder to create a SkinAddition object.
  org.apache.myfaces.trinidad.skin.SkinAddition(String, ValueBinding) Use builder to create a SkinAddition object.
  org.apache.myfaces.trinidad.skin.SkinAddition(String, ValueExpression) Use builder to create a SkinAddition object.
  org.apache.myfaces.trinidad.skin.SkinAddition(String, ValueExpression, Map) Use builder to create a SkinAddition object.

Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.