blob: 481642e6baca0ba2c0f92fc266eb43f788e40926 [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001/*
2 * reserved comment block
3 * DO NOT REMOVE OR ALTER!
4 */
5/*
6 * Copyright 1999-2004 The Apache Software Foundation.
7 *
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 *
20 */
21package com.sun.org.apache.xml.internal.security.c14n.implementations;
22
23
24
25import com.sun.org.apache.xml.internal.security.c14n.Canonicalizer;
26
27
28/**
29 *
30 * @author Christian Geuer-Pollmann
31 */
32public class Canonicalizer20010315OmitComments extends Canonicalizer20010315 {
33
34 /**
35 * Constructor Canonicalizer20010315WithXPathOmitComments
36 *
37 */
38 public Canonicalizer20010315OmitComments() {
39 super(false);
40 }
41
42 /** @inheritDoc */
43 public final String engineGetURI() {
44 return Canonicalizer.ALGO_ID_C14N_OMIT_COMMENTS;
45 }
46
47 /** @inheritDoc */
48 public final boolean engineGetIncludeComments() {
49 return false;
50 }
51}