blob: f684d8105d0ce9198e86b86352bb369d0e1bc6eb [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2015 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
* Angelo Zerr <angelo.zerr@gmail.com> - copied from org.eclipse.wst.css.core.internal.cleanup.CSSCleanupStrategy
* modified in order to process JSON Objects.
*******************************************************************************/
package org.eclipse.wst.json.core.cleanup;
public interface IJSONCleanupStrategy {
static final short ASIS = 0;
static final short LOWER = 1;
static final short UPPER = 2;
/**
*
* @return short
*/
short getIdentCase();
/**
*
* @return short
*/
short getPropNameCase();
/**
*
* @return short
*/
short getPropValueCase();
/**
*
* @return short
*/
short getSelectorTagCase();
short getClassSelectorCase();
short getIdSelectorCase();
/**
*
* @return boolean
*/
boolean isFormatSource();
/**
*
* @return boolean
*/
boolean isQuoteValues();
/**
*
* @param formatSource
* boolean
*/
void setFormatSource(boolean formatSource);
/**
*
* @param identCase
* short
*/
void setIdentCase(short identCase);
/**
*
* @param propNameCase
* short
*/
void setPropNameCase(short propNameCase);
/**
*
* @param propValueCase
* short
*/
void setPropValueCase(short propValueCase);
/**
*
* @param quoteValues
* boolean
*/
void setQuoteValues(boolean quoteValues);
/**
*
* @param selectorTagCase
* short
*/
void setSelectorTagCase(short selectorTagCase);
void setClassSelectorCase(short classSelectorCase);
void setIdSelectorCase(short idSelectorCase);
}