StylesheetRoot.getGlobalImport
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.apache.xalan.templates.StylesheetRoot.getGlobalImport(Showing top 15 results out of 315)

  • Common ways to obtain StylesheetRoot
private void myMethod () {
StylesheetRoot s =
  • ElemTemplateElement elemTemplateElement;elemTemplateElement.getStylesheetRoot()
  • Stylesheet stylesheet;stylesheet.getStylesheetRoot()
  • TransformerImpl transformerImpl;transformerImpl.getStylesheet()
  • AI code suggestions by Codota
}
origin: robovm/robovm

/**
 * Given a stylesheet, return the number of the stylesheet
 * in the global import list.
 * @param sheet The stylesheet which will be located in the
 * global import list.
 * @return The index into the global import list of the given stylesheet,
 * or -1 if it is not found (which should never happen).
 */
public int getImportNumber(StylesheetComposed sheet)
{
 if (this == sheet)
  return 0;
 int n = getGlobalImportCount();
 for (int i = 0; i < n; i++)
 {
  if (sheet == getGlobalImport(i))
   return i;
 }
 return -1;
}
origin: xalan/xalan

Stylesheet imported = stylesheet.getGlobalImport(i);
origin: robovm/robovm

/**
 * Get a stylesheet from the "import" list.
 * @see <a href="http://www.w3.org/TR/xslt#import">import in XSLT Specification</a>
 *
 * @param i Index of stylesheet in import list 
 *
 * @return The stylesheet at the given index
 *
 * @throws ArrayIndexOutOfBoundsException
 */
public StylesheetComposed getImportComposed(int i)
    throws ArrayIndexOutOfBoundsException
{
 StylesheetRoot root = getStylesheetRoot();
 // Get the stylesheet that is offset past this stylesheet.
 // Thus, if the index of this stylesheet is 3, an argument 
 // to getImportComposed of 0 will return the 4th stylesheet 
 // in the global import list.
 return root.getGlobalImport(1 + m_importNumber + i);
}
origin: xalan/xalan

/**
 * Given a stylesheet, return the number of the stylesheet
 * in the global import list.
 * @param sheet The stylesheet which will be located in the
 * global import list.
 * @return The index into the global import list of the given stylesheet,
 * or -1 if it is not found (which should never happen).
 */
public int getImportNumber(StylesheetComposed sheet)
{
 if (this == sheet)
  return 0;
 int n = getGlobalImportCount();
 for (int i = 0; i < n; i++)
 {
  if (sheet == getGlobalImport(i))
   return i;
 }
 return -1;
}
origin: xalan/xalan

/**
 * Get a stylesheet from the "import" list.
 * @see <a href="http://www.w3.org/TR/xslt#import">import in XSLT Specification</a>
 *
 * @param i Index of stylesheet in import list 
 *
 * @return The stylesheet at the given index
 *
 * @throws ArrayIndexOutOfBoundsException
 */
public StylesheetComposed getImportComposed(int i)
    throws ArrayIndexOutOfBoundsException
{
 StylesheetRoot root = getStylesheetRoot();
 // Get the stylesheet that is offset past this stylesheet.
 // Thus, if the index of this stylesheet is 3, an argument 
 // to getImportComposed of 0 will return the 4th stylesheet 
 // in the global import list.
 return root.getGlobalImport(1 + m_importNumber + i);
}
origin: org.apache.xalan/xalan

/**
 * Given a stylesheet, return the number of the stylesheet
 * in the global import list.
 * @param sheet The stylesheet which will be located in the
 * global import list.
 * @return The index into the global import list of the given stylesheet,
 * or -1 if it is not found (which should never happen).
 */
public int getImportNumber(StylesheetComposed sheet)
{
 if (this == sheet)
  return 0;
 int n = getGlobalImportCount();
 for (int i = 0; i < n; i++)
 {
  if (sheet == getGlobalImport(i))
   return i;
 }
 return -1;
}
origin: com.bugvm/bugvm-rt

/**
 * Get a stylesheet from the "import" list.
 * @see <a href="http://www.w3.org/TR/xslt#import">import in XSLT Specification</a>
 *
 * @param i Index of stylesheet in import list 
 *
 * @return The stylesheet at the given index
 *
 * @throws ArrayIndexOutOfBoundsException
 */
public StylesheetComposed getImportComposed(int i)
    throws ArrayIndexOutOfBoundsException
{
 StylesheetRoot root = getStylesheetRoot();
 // Get the stylesheet that is offset past this stylesheet.
 // Thus, if the index of this stylesheet is 3, an argument 
 // to getImportComposed of 0 will return the 4th stylesheet 
 // in the global import list.
 return root.getGlobalImport(1 + m_importNumber + i);
}
origin: com.bugvm/bugvm-rt

/**
 * Given a stylesheet, return the number of the stylesheet
 * in the global import list.
 * @param sheet The stylesheet which will be located in the
 * global import list.
 * @return The index into the global import list of the given stylesheet,
 * or -1 if it is not found (which should never happen).
 */
public int getImportNumber(StylesheetComposed sheet)
{
 if (this == sheet)
  return 0;
 int n = getGlobalImportCount();
 for (int i = 0; i < n; i++)
 {
  if (sheet == getGlobalImport(i))
   return i;
 }
 return -1;
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Given a stylesheet, return the number of the stylesheet
 * in the global import list.
 * @param sheet The stylesheet which will be located in the
 * global import list.
 * @return The index into the global import list of the given stylesheet,
 * or -1 if it is not found (which should never happen).
 */
public int getImportNumber(StylesheetComposed sheet)
{
 if (this == sheet)
  return 0;
 int n = getGlobalImportCount();
 for (int i = 0; i < n; i++)
 {
  if (sheet == getGlobalImport(i))
   return i;
 }
 return -1;
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Get a stylesheet from the "import" list.
 * @see <a href="http://www.w3.org/TR/xslt#import">import in XSLT Specification</a>
 *
 * @param i Index of stylesheet in import list 
 *
 * @return The stylesheet at the given index
 *
 * @throws ArrayIndexOutOfBoundsException
 */
public StylesheetComposed getImportComposed(int i)
    throws ArrayIndexOutOfBoundsException
{
 StylesheetRoot root = getStylesheetRoot();
 // Get the stylesheet that is offset past this stylesheet.
 // Thus, if the index of this stylesheet is 3, an argument 
 // to getImportComposed of 0 will return the 4th stylesheet 
 // in the global import list.
 return root.getGlobalImport(1 + m_importNumber + i);
}
origin: MobiVM/robovm

/**
 * Given a stylesheet, return the number of the stylesheet
 * in the global import list.
 * @param sheet The stylesheet which will be located in the
 * global import list.
 * @return The index into the global import list of the given stylesheet,
 * or -1 if it is not found (which should never happen).
 */
public int getImportNumber(StylesheetComposed sheet)
{
 if (this == sheet)
  return 0;
 int n = getGlobalImportCount();
 for (int i = 0; i < n; i++)
 {
  if (sheet == getGlobalImport(i))
   return i;
 }
 return -1;
}
origin: MobiVM/robovm

/**
 * Get a stylesheet from the "import" list.
 * @see <a href="http://www.w3.org/TR/xslt#import">import in XSLT Specification</a>
 *
 * @param i Index of stylesheet in import list 
 *
 * @return The stylesheet at the given index
 *
 * @throws ArrayIndexOutOfBoundsException
 */
public StylesheetComposed getImportComposed(int i)
    throws ArrayIndexOutOfBoundsException
{
 StylesheetRoot root = getStylesheetRoot();
 // Get the stylesheet that is offset past this stylesheet.
 // Thus, if the index of this stylesheet is 3, an argument 
 // to getImportComposed of 0 will return the 4th stylesheet 
 // in the global import list.
 return root.getGlobalImport(1 + m_importNumber + i);
}
origin: org.apache.xalan/xalan

/**
 * Get a stylesheet from the "import" list.
 * @see <a href="http://www.w3.org/TR/xslt#import">import in XSLT Specification</a>
 *
 * @param i Index of stylesheet in import list 
 *
 * @return The stylesheet at the given index
 *
 * @throws ArrayIndexOutOfBoundsException
 */
public StylesheetComposed getImportComposed(int i)
    throws ArrayIndexOutOfBoundsException
{
 StylesheetRoot root = getStylesheetRoot();
 // Get the stylesheet that is offset past this stylesheet.
 // Thus, if the index of this stylesheet is 3, an argument 
 // to getImportComposed of 0 will return the 4th stylesheet 
 // in the global import list.
 return root.getGlobalImport(1 + m_importNumber + i);
}
origin: robovm/robovm

Stylesheet imported = stylesheet.getGlobalImport(i);
origin: org.apache.xalan/xalan

Stylesheet imported = stylesheet.getGlobalImport(i);
org.apache.xalan.templatesStylesheetRootgetGlobalImport

Javadoc

Get a stylesheet from the global import list. TODO: JKESS PROPOSES SPECIAL-CASE FOR NO IMPORT LIST, TO MATCH COUNT.

Popular methods of StylesheetRoot

  • <init>
    Creates a StylesheetRoot and retains a pointer to the schema used to create this StylesheetRoot. The
  • QuickSort2
    This is a generic version of C.A.R Hoare's Quick Sort algorithm. This will handle arrays that are al
  • addImports
    Add the imports in the given sheet to the working importList vector. The will be added from highest
  • canStripWhiteSpace
    Get information about whether or not whitespace can be stripped.
  • clearComposeState
    Clear the compose state.
  • composeTemplates
    Call the compose function for each ElemTemplateElement.
  • error
  • getAttributeSetComposed
    Get a list "xsl:attribute-set" properties that match the qname.
  • getAvailableElements
    Get the hashtable of available elements.
  • getBaseIdentifier
  • getComposeState
    Return class to track state global state during the compose() operation.
  • getDecimalFormatComposed
    Given a valid element decimal-format name, return the decimalFormatSymbols with that name.It is an e
  • getComposeState,
  • getDecimalFormatComposed,
  • getDefaultOutputProps,
  • getDefaultRootRule,
  • getDefaultRule,
  • getDefaultTextRule,
  • getExtensionHandlerClass,
  • getExtensionNamespacesManager,
  • getExtensions

Popular classes and methods

  • setRequestProperty (URLConnection)
    Sets the value of the specified request header field. The value will only be used by the current URL
  • setContentView (Activity)
  • getSharedPreferences (Context)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • IsNull (org.hamcrest.core)
    Is the value null?

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)