private boolean formatInput() {
		if (rawString.length() == 0) {
			return false;
		}
		if (rawString.length() == 1) {
			if (rawString.equals(">")) {
				myType = SegmentType.NODECLOSE;
				formattedString = rawString;
				return true;
			}
		}
		else if (rawString.length() == 2) {
			if (rawString.equals("/>")) {
				myType = SegmentType.NODEINLINECLOSE;
				formattedString = rawString;
				return true;
			}
		}
		
		if (rawString.charAt(0) == '<') {
			myType = SegmentType.NODEDECLARATION;
			formattedString = rawString;
			return true;
		}
		
		for (int i = 0; i < rawString.length(); i++) {
			if ((rawString.charAt(i) == '\'') || (rawString.charAt(i) == '"')) {
				myType = SegmentType.ATTRIBUTE;
				formattedString = rawString;
				return true;
			}
		}
		
		//error unknown type
		return true;
	}