main.d.ts 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /**
  2. * Copyright (C) 2016-2019 Michael Kourlas
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. import XmlDocument, { IXmlDocumentOptions } from "./nodes/XmlDocument";
  17. export { default as XmlAttribute, IXmlAttributeOptions } from "./nodes/XmlAttribute";
  18. export { default as XmlAttributeText, IXmlAttributeTextOptions } from "./nodes/XmlAttributeText";
  19. export { default as XmlCdata, IXmlCdataOptions } from "./nodes/XmlCdata";
  20. export { default as XmlCharData, IXmlCharDataOptions } from "./nodes/XmlCharData";
  21. export { default as XmlCharRef, IXmlCharRefOptions } from "./nodes/XmlCharRef";
  22. export { default as XmlComment, IXmlCommentOptions } from "./nodes/XmlComment";
  23. export { default as XmlDecl, IXmlDeclOptions } from "./nodes/XmlDecl";
  24. export { default as XmlDocument, IXmlDocumentOptions } from "./nodes/XmlDocument";
  25. export { default as XmlDtd, IXmlDtdOptions } from "./nodes/XmlDtd";
  26. export { default as XmlDtdAttlist, IXmlDtdAttlistOptions } from "./nodes/XmlDtdAttlist";
  27. export { default as XmlDtdElement, IXmlDtdElementOptions } from "./nodes/XmlDtdElement";
  28. export { default as XmlDtdEntity, IXmlDtdEntityOptions } from "./nodes/XmlDtdEntity";
  29. export { default as XmlDtdNotation, IXmlDtdNotationOptions } from "./nodes/XmlDtdNotation";
  30. export { default as XmlDtdParamEntityRef, IXmlDtdParamEntityRefOptions } from "./nodes/XmlDtdParamEntityRef";
  31. export { default as XmlElement, IXmlElementOptions } from "./nodes/XmlElement";
  32. export { default as XmlEntityRef, IXmlEntityRefOptions } from "./nodes/XmlEntityRef";
  33. export { default as XmlProcInst, IXmlProcInstOptions } from "./nodes/XmlProcInst";
  34. export { IStringOptions } from "./options";
  35. /**
  36. * Returns a new XML document with the specified options.
  37. */
  38. export declare function document(options?: IXmlDocumentOptions): XmlDocument;