public void recompose(Vector recomposableElements) throws TransformerException {
  int n=getIncludeCountComposed();
  for (int i=-1; i < n; i++) {
    Stylesheet included=getIncludeComposed(i);
    int s=included.getOutputCount();
    for (int j=0; j < s; j++) {
      recomposableElements.addElement(included.getOutput(j));
    }
    s=included.getAttributeSetCount();
    for (int j=0; j < s; j++) {
      recomposableElements.addElement(included.getAttributeSet(j));
    }
    s=included.getDecimalFormatCount();
    for (int j=0; j < s; j++) {
      recomposableElements.addElement(included.getDecimalFormat(j));
    }
    s=included.getKeyCount();
    for (int j=0; j < s; j++) {
      recomposableElements.addElement(included.getKey(j));
    }
    s=included.getNamespaceAliasCount();
    for (int j=0; j < s; j++) {
      recomposableElements.addElement(included.getNamespaceAlias(j));
    }
    s=included.getTemplateCount();
    for (int j=0; j < s; j++) {
      recomposableElements.addElement(included.getTemplate(j));
    }
    s=included.getVariableOrParamCount();
    for (int j=0; j < s; j++) {
      recomposableElements.addElement(included.getVariableOrParam(j));
    }
    s=included.getStripSpaceCount();
    for (int j=0; j < s; j++) {
      recomposableElements.addElement(included.getStripSpace(j));
    }
    s=included.getPreserveSpaceCount();
    for (int j=0; j < s; j++) {
      recomposableElements.addElement(included.getPreserveSpace(j));
    }
  }
}

public void recompose ( Vector recomposableElements ) throws TransformerException { int n = getIncludeCountComposed ( ) ; for ( int i = - 1 ; i < n ; i ++ ) { Stylesheet included = getIncludeComposed ( i ) ; int s = included . getOutputCount ( ) ; for ( int j = 0 ; j < s ; j ++ ) { recomposableElements . addElement ( included . getOutput ( j ) ) ; } s = included . getAttributeSetCount ( ) ; for ( int j = 0 ; j < s ; j ++ ) { recomposableElements . addElement ( included . getAttributeSet ( j ) ) ; } s = included . getDecimalFormatCount ( ) ; for ( int j = 0 ; j < s ; j ++ ) { recomposableElements . addElement ( included . getDecimalFormat ( j ) ) ; } s = included . getKeyCount ( ) ; for ( int j = 0 ; j < s ; j ++ ) { recomposableElements . addElement ( included . getKey ( j ) ) ; } s = included . getNamespaceAliasCount ( ) ; for ( int j = 0 ; j < s ; j ++ ) { recomposableElements . addElement ( included . getNamespaceAlias ( j ) ) ; } s = included . getTemplateCount ( ) ; for ( int j = 0 ; j < s ; j ++ ) { recomposableElements . addElement ( included . getTemplate ( j ) ) ; } s = included . getVariableOrParamCount ( ) ; for ( int j = 0 ; j < s ; j ++ ) { recomposableElements . addElement ( included . getVariableOrParam ( j ) ) ; } s = included . getStripSpaceCount ( ) ; for ( int j = 0 ; j < s ; j ++ ) { recomposableElements . addElement ( included . getStripSpace ( j ) ) ; } s = included . getPreserveSpaceCount ( ) ; for ( int j = 0 ; j < s ; j ++ ) { recomposableElements . addElement ( included . getPreserveSpace ( j ) ) ; } } }
adds all recomposable values for this precedence level into the recomposableelements vector that was passed in as the first parameter . all elements added to the recomposableelements vector should extend elemtemplateelement .
