/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2002-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.
*/
/**
* Our own document implementation, which knows how to create an element
* with PSVI information.
*
* @xerces.internal
*
* @author Sandy Gao, IBM
*
*/
/** Serialization version. */
/**
* Create a document.
*/
public PSVIDocumentImpl() {
super();
}
/**
* For DOM2 support.
* The createDocument factory method is in DOMImplementation.
*/
super(doctype);
}
/**
* Deep-clone a document, including fixing ownerDoc for the cloned
* children. Note that this requires bypassing the WRONG_DOCUMENT_ERR
* protection. I've chosen to implement it by calling importNode
* which is DOM Level 2.
*
* @return org.w3c.dom.Node
* @param deep boolean, iff true replicate children
*/
// experimental
return newdoc;
} // cloneNode(boolean):Node
/**
* Retrieve information describing the abilities of this particular
* DOM implementation. Intended to support applications that may be
* using DOMs retrieved from several different sources, potentially
* with different underlying representations.
*/
// Currently implemented as a singleton, since it's hardcoded
// information anyway.
}
/**
* Create an element with PSVI information
*/
throws DOMException {
}
/**
* Create an element with PSVI information
*/
}
/**
* Create an attribute with PSVI information
*/
throws DOMException {
}
/**
* Create an attribute with PSVI information
*/
}
/**
*
* The configuration used when <code>Document.normalizeDocument</code> is
* invoked.
* @since DOM Level 3
*/
super.getDomConfig();
return fConfiguration;
}
// REVISIT: Forbid serialization of PSVI DOM until
// we support object serialization of grammars -- mrglavas
throws IOException {
}
throws IOException, ClassNotFoundException {
}
} // class PSVIDocumentImpl