net.sf.okapi.common.resource

## Class StartSubfilter

- java.lang.Object
- - net.sf.okapi.common.resource.BaseNameable
  - - net.sf.okapi.common.resource.BaseReferenceable
    - - net.sf.okapi.common.resource.StartGroup
      - - net.sf.okapi.common.resource.StartSubfilter

- All Implemented Interfaces:
    IResource, INameable, IReferenceable

      public class StartSubfilter
      extends StartGroup

- - ### Field Summary

    - ### Fields inherited from class net.sf.okapi.common.resource.BaseReferenceable

      `parentId, refCount`

    - ### Fields inherited from class net.sf.okapi.common.resource.BaseNameable

      `annotations, id, isTranslatable, mimeType, name, preserveWS, properties, skeleton, sourceProperties, type`

    - ### Fields inherited from interface net.sf.okapi.common.IResource

      `COPY_ALL, COPY_CONTENT, COPY_PROPERTIES, COPY_SEGMENTATION, COPY_SEGMENTED_CONTENT, CREATE_EMPTY`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StartSubfilter(java.lang.String id, StartDocument startDoc, IEncoder parentEncoder)` Creates a new `StartSubfilter` object with the identifier of the group's parent and the group's identifier.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ISkeletonWriter` | `createSkeletonWriter(StartSubfilter resource, LocaleId outputLocale, java.lang.String outputEncoding)`
    `java.lang.String` | `getEncoding()`
    `IParameters` | `getFilterParameters()`
    `IFilterWriter` | `getFilterWriter()`
    `java.lang.String` | `getLineBreak()`
    `LocaleId` | `getLocale()`
    `IEncoder` | `getParentEncoder()`
    `SubFilterSkeletonWriter` | `getSkeletonWriter()`
    `StartDocument` | `getStartDoc()`
    `boolean` | `hasUTF8BOM()`
    `boolean` | `isMultilingual()`

    - ### Methods inherited from class net.sf.okapi.common.resource.BaseReferenceable

      `getParentId, getReferenceCount, isReferent, setIsReferent, setParentId, setReferenceCount`

    - ### Methods inherited from class net.sf.okapi.common.resource.BaseNameable

      `createTargetProperty, getAnnotation, getAnnotations, getId, getMimeType, getName, getProperty, getPropertyNames, getSkeleton, getSourceProperty, getSourcePropertyNames, getTargetLocales, getTargetProperty, getTargetPropertyNames, getType, hasProperty, hasSourceProperty, hasTargetProperty, isTranslatable, preserveWhitespaces, removeProperty, removeSourceProperty, removeTargetProperty, setAnnotation, setId, setIsTranslatable, setMimeType, setName, setPreserveWhitespaces, setProperty, setSkeleton, setSourceProperty, setTargetProperty, setType`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StartSubfilter

          public StartSubfilter(java.lang.String id,
                        StartDocument startDoc,
                        IEncoder parentEncoder)

      Creates a new `StartSubfilter` object with the identifier of the group's parent and the group's identifier.
      Parameters:
        `id` - the identifier of this sub filter.
        `startDoc` - The StartDocument resource of the subfilter.
        `parentEncoder` -

  - ### Method Detail

    - #### getLocale

          public LocaleId getLocale()

    - #### getEncoding

          public java.lang.String getEncoding()

    - #### isMultilingual

          public boolean isMultilingual()

    - #### getFilterParameters

          public IParameters getFilterParameters()

    - #### getFilterWriter

          public IFilterWriter getFilterWriter()

    - #### hasUTF8BOM

          public boolean hasUTF8BOM()

    - #### getLineBreak

          public java.lang.String getLineBreak()

    - #### getStartDoc

          public StartDocument getStartDoc()

    - #### getSkeletonWriter

          public SubFilterSkeletonWriter getSkeletonWriter()

    - #### createSkeletonWriter

          public ISkeletonWriter createSkeletonWriter(StartSubfilter resource,
                                             LocaleId outputLocale,
                                             java.lang.String outputEncoding)

    - #### getParentEncoder

          public IEncoder getParentEncoder()