/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* $Id: DOMAdapter.java,v 1.2.4.1 2005/09/06 06:07:28 pvedula Exp $
*/
/**
* @author Jacek Ambroziak
* @author Morten Jorgensen
*/
// Mutually exclusive casting of DOM interface to known implementations
private int[] _typesArray;
// Cached mappings
private int _multiDOMMask;
String[] namesArray,
int[] typesArray,
String[] namespaceArray) {
if (dom instanceof DOMEnhancedForDTM){
}
}
_namesArray = names;
}
return _namesArray;
}
return _urisArray;
}
public int[] getTypesArray() {
return _typesArray;
}
return _namespaceArray;
}
return _dom;
}
private short[] getMapping() {
if (_enhancedDOM != null) {
}
}
return _mapping;
}
private int[] getReverse() {
if (_enhancedDOM != null) {
}
}
return _reverse;
}
private short[] getNSMapping() {
if (_NSmapping == null) {
if (_enhancedDOM != null) {
}
}
return _NSmapping;
}
private short[] getNSReverse() {
if (_NSreverse == null) {
if (_enhancedDOM != null) {
}
}
return _NSreverse;
}
/**
* Returns singleton iterator containg the document root
*/
return _dom.getIterator();
}
return _dom.getStringValue();
}
if (_enhancedDOM != null) {
}
else {
}
}
}
final int[] reverse = getReverse();
if (_enhancedDOM != null) {
}
else {
}
}
final int ns) {
}
if (_enhancedDOM != null) {
}
else {
}
}
final int type) {
final int[] reverse = getReverse();
if (_enhancedDOM != null) {
} else {
}
}
public int getMultiDOMMask() {
return _multiDOMMask;
}
}
boolean includeself) {
}
boolean op) {
}
}
final short[] mapping = getMapping();
final int type;
if (_enhancedDOM != null) {
}
else {
{
}
else
{
}
}
return type;
}
}
}
}
}
return "";
}
}
{
return "";
}
}
{
return "";
}
}
{
if (_enhancedDOM != null) {
}
else {
return "";
}
}
}
throws TransletException
{
}
throws TransletException
{
}
throws TransletException
{
if (_enhancedDOM != null) {
}
else {
}
}
{
}
throws TransletException
{
if (_enhancedDOM != null) {
}
else {
}
}
{
}
{
}
{
}
{
}
{
}
public int getSize()
{
}
{
if (_enhancedDOM != null) {
}
}
{
if (_enhancedDOM != null) {
return _enhancedDOM.getDocumentURI();
}
else {
return "";
}
}
{
}
public int getDocument()
{
return _dom.getDocument();
}
{
}
{
}
{
}
{
}
/**
* Return a instance of a DOM class to be used as an RTF
*/
{
if (_enhancedDOM != null) {
}
else {
}
}
/**
* Return a instance of a DOM class to be used as an RTF
*/
boolean addToManager)
{
if (_enhancedDOM != null) {
}
else {
}
}
/**
* Returns a SerializationHandler class wrapped in a SAX adapter.
*/
{
return _dom.getOutputDomBuilder();
}
throws TransletException
{
}
}
return _dom.getElementsWithIDs();
}
}